Skip to content

Version 0.10.0

Compare
Choose a tag to compare
@tarsil tarsil released this 25 Jul 15:37
· 12 commits to main since this release
4ce58b4

Added

  • Task are decorators now.
  • Tasks can be added via add_task.
  • Trigger can now overwrite mistrigger_grace_time via allow_mistrigger_by_default.
  • Pools can now overwrite wait and can set cancel_futures.

Changed

  • Task id can be None (decorator mode).
  • Task have now pending attribute.
  • Tasks work more independent of schedulers.

Removed

  • schedule_task call (superseeded by add_task overloads).

Fixed

  • task_defaults overwrite settings.
  • Fix one-off tasks in background with add_task (before with asgi a misstrigger can happen because of a lag of > 1 second).
  • Fix add_store call on stopped scheduler.