from fastapi import Depends from rocketry.conds import hourly from sqlalchemy.ext.asyncio import AsyncSession from crowdtls.db import get_session from crowdtls.scheduler import app as schedule @schedule.task(hourly) async def find_anomalies(session: AsyncSession = Depends(get_session)): pass