51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""Compatibility schema bridge.
|
|
|
|
This module preserves the legacy ``backend.data.schema`` import path while
|
|
delegating the actual schema definitions to ``shared.schema``. Keeping one
|
|
canonical DTO set avoids drift as the monolith is split into service-specific
|
|
packages.
|
|
"""
|
|
|
|
from shared.schema import (
|
|
AgentStateData,
|
|
AgentStateMetadata,
|
|
AnalystSignal,
|
|
CompanyFacts,
|
|
CompanyFactsResponse,
|
|
CompanyNews,
|
|
CompanyNewsResponse,
|
|
FinancialMetrics,
|
|
FinancialMetricsResponse,
|
|
InsiderTrade,
|
|
InsiderTradeResponse,
|
|
LineItem,
|
|
LineItemResponse,
|
|
Portfolio,
|
|
Position,
|
|
Price,
|
|
PriceResponse,
|
|
TickerAnalysis,
|
|
)
|
|
|
|
__all__ = [
|
|
"Price",
|
|
"PriceResponse",
|
|
"FinancialMetrics",
|
|
"FinancialMetricsResponse",
|
|
"LineItem",
|
|
"LineItemResponse",
|
|
"InsiderTrade",
|
|
"InsiderTradeResponse",
|
|
"CompanyNews",
|
|
"CompanyNewsResponse",
|
|
"CompanyFacts",
|
|
"CompanyFactsResponse",
|
|
"Position",
|
|
"Portfolio",
|
|
"AnalystSignal",
|
|
"TickerAnalysis",
|
|
"AgentStateData",
|
|
"AgentStateMetadata",
|
|
]
|