Weirui-Leo's picture
fix: all pylint errors
2646146
raw
history blame contribute delete
757 Bytes
"""Public interface for entity analysis calculations."""
from ..utils import get_entity_analysis_data as _base
def get_today_entity_analysis_data():
"""Return Entity Analysis data for *today*."""
return _base("today")
def get_weekly_entity_analysis_data():
"""Return Entity Analysis data for the *latest 7 days*."""
return _base("week")
def get_monthly_entity_analysis_data():
"""Return Entity Analysis data for the *latest 30 days*."""
return _base("month")
# Re-export generic helper for backward compatibility
get_entity_analysis_data = _base # type: ignore
__all__ = [
"get_entity_analysis_data",
"get_today_entity_analysis_data",
"get_weekly_entity_analysis_data",
"get_monthly_entity_analysis_data",
]