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 |