Weirui-Leo's picture
fix: all pylint errors
2646146
raw
history blame contribute delete
800 Bytes
"""Public interface for content-related summary calculations."""
from ..utils import get_content_flow_data as _base
def get_today_content_flow_data():
"""Return Content Flow data for *today*."""
return _base("today")
def get_weekly_content_flow_data():
"""Return Content Flow data for the *latest 7 days*."""
# the internal util accepts either ``week`` or ``weekly``
return _base("week")
def get_monthly_content_flow_data():
"""Return Content Flow data for the *latest 30 days*."""
return _base("month")
# Re-export the generic helper so legacy imports keep working
get_content_flow_data = _base # type: ignore
__all__ = [
"get_content_flow_data",
"get_today_content_flow_data",
"get_weekly_content_flow_data",
"get_monthly_content_flow_data",
]