Skip to content

0.7.0

Choose a tag to compare

@junah201 junah201 released this 11 Feb 12:26
· 11 commits to main since this release
886d020

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
    pass

Still, you can use depends in this handler.

Features

  • ✨ Improve usability of middleware and exception handler. PR #15 by @junah201

Fixes

  • 🐛 Deepcopy the field info to prevent default value overwrite error. Commit af50e33 by @junah201

Internals