Repository navigation
0.7.0
Highlight
Schedule Triggers
Now, you can add schedule trigger such as cron job
from typing import Annotated
from nexify import Nexify, Event
from nexify.schedule import Rate
app = Nexify()
@app.schedule(Rate(5, Rate.MINUTES))
def my_handler(event: Annotated[dict, Event()]):
# DO SOMETHING
passStill, you can use depends in this handler.