120 lines
2.8 KiB
Python
120 lines
2.8 KiB
Python
"""Schémas Pydantic de l'application."""
|
|
|
|
from .user import UserBase, UserCreate, UserResponse
|
|
from .tweet import (
|
|
TweetBase,
|
|
TweetCreate,
|
|
TweetResponse,
|
|
TweetListResponse,
|
|
TweetStatsResponse
|
|
)
|
|
from .reddit_post import (
|
|
RedditPostBase,
|
|
RedditPostCreate,
|
|
RedditPostResponse,
|
|
RedditPostListResponse,
|
|
RedditCommentBase,
|
|
RedditCommentCreate,
|
|
RedditCommentResponse,
|
|
RedditCommentListResponse,
|
|
RedditStatsResponse
|
|
)
|
|
from .rss_article import (
|
|
RSSArticleBase,
|
|
RSSArticleCreate,
|
|
RSSArticleResponse,
|
|
RSSArticleListResponse,
|
|
RSSArticleStatsResponse
|
|
)
|
|
from .sentiment_score import (
|
|
SentimentScoreBase,
|
|
SentimentScoreCreate,
|
|
SentimentScoreResponse,
|
|
SentimentAnalysisRequest,
|
|
SentimentAnalysisResponse,
|
|
BatchSentimentAnalysisRequest,
|
|
BatchSentimentAnalysisResponse,
|
|
AggregatedSentimentMetrics,
|
|
SentimentScoreListResponse
|
|
)
|
|
from .energy_score import (
|
|
EnergyScoreBase,
|
|
EnergyScoreCreate,
|
|
EnergyScoreUpdate,
|
|
EnergyScoreResponse,
|
|
EnergyScoreCalculationRequest,
|
|
EnergyScoreCalculationResponse,
|
|
EnergyScoreListResponse,
|
|
EnergyScoreQueryParams
|
|
)
|
|
from .match import (
|
|
MatchBase,
|
|
MatchCreate,
|
|
MatchUpdate,
|
|
MatchResponse,
|
|
MatchListResponse,
|
|
MatchStatsResponse
|
|
)
|
|
from .prediction import (
|
|
PredictionBase,
|
|
PredictionCreate,
|
|
PredictionUpdate,
|
|
PredictionResponse,
|
|
PredictionListResponse,
|
|
PredictionStatsResponse
|
|
)
|
|
|
|
__all__ = [
|
|
"UserBase",
|
|
"UserCreate",
|
|
"UserResponse",
|
|
"TweetBase",
|
|
"TweetCreate",
|
|
"TweetResponse",
|
|
"TweetListResponse",
|
|
"TweetStatsResponse",
|
|
"RedditPostBase",
|
|
"RedditPostCreate",
|
|
"RedditPostResponse",
|
|
"RedditPostListResponse",
|
|
"RedditCommentBase",
|
|
"RedditCommentCreate",
|
|
"RedditCommentResponse",
|
|
"RedditCommentListResponse",
|
|
"RedditStatsResponse",
|
|
"RSSArticleBase",
|
|
"RSSArticleCreate",
|
|
"RSSArticleResponse",
|
|
"RSSArticleListResponse",
|
|
"RSSArticleStatsResponse",
|
|
"SentimentScoreBase",
|
|
"SentimentScoreCreate",
|
|
"SentimentScoreResponse",
|
|
"SentimentAnalysisRequest",
|
|
"SentimentAnalysisResponse",
|
|
"BatchSentimentAnalysisRequest",
|
|
"BatchSentimentAnalysisResponse",
|
|
"AggregatedSentimentMetrics",
|
|
"SentimentScoreListResponse",
|
|
"EnergyScoreBase",
|
|
"EnergyScoreCreate",
|
|
"EnergyScoreUpdate",
|
|
"EnergyScoreResponse",
|
|
"EnergyScoreCalculationRequest",
|
|
"EnergyScoreCalculationResponse",
|
|
"EnergyScoreListResponse",
|
|
"EnergyScoreQueryParams",
|
|
"MatchBase",
|
|
"MatchCreate",
|
|
"MatchUpdate",
|
|
"MatchResponse",
|
|
"MatchListResponse",
|
|
"MatchStatsResponse",
|
|
"PredictionBase",
|
|
"PredictionCreate",
|
|
"PredictionUpdate",
|
|
"PredictionResponse",
|
|
"PredictionListResponse",
|
|
"PredictionStatsResponse",
|
|
]
|