Coverage for src/qdrant_loader_mcp_server/mcp/formatters.py: 100%
2 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-08 06:06 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-08 06:06 +0000
1"""
2MCP Response Formatters - Re-export Module.
4This module provides comprehensive MCP response formatting through a clean,
5modular architecture. The original MCPFormatters class and its methods have been
6extracted to the 'formatters' sub-package for better maintainability and testability.
8Architecture:
9- formatters.basic: Basic search result and attachment formatting
10- formatters.intelligence: Analysis and intelligence result formatting
11- formatters.lightweight: Efficient lightweight result construction
12- formatters.structured: Complex structured data formatting
13- formatters.utils: Shared utilities and helper functions
14"""
16# Re-export the main MCPFormatters class for backward compatibility
17# Also re-export specialized formatters for direct access
18from .formatters import (
19 BasicResultFormatters,
20 FormatterUtils,
21 IntelligenceResultFormatters,
22 LightweightResultFormatters,
23 MCPFormatters,
24 StructuredResultFormatters,
25)
27__all__ = [
28 "MCPFormatters",
29 "BasicResultFormatters",
30 "IntelligenceResultFormatters",
31 "LightweightResultFormatters",
32 "StructuredResultFormatters",
33 "FormatterUtils",
34]