AiNewsV2 / state /news_state.py
Phoenix21's picture
Modular code
7516245
raw
history blame contribute delete
291 Bytes
from typing_extensions import TypedDict
from typing import List, Dict, Any
class NewsState(TypedDict):
query: str
date: str
search_results: List[Dict[str, Any]]
news_items: List[Dict[str, Any]]
class ArticleScraperState(TypedDict):
url: str
article_content: str