-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: tasks.repeat_every() and related tests (#310)
* fix(tasks): Fix @repeat_every blocking app startup * fix(tasks): Add missing await on ensure_future * Revert "fix(tasks): Add missing await on ensure_future" This reverts commit 3d9ba0d. See the conversation on #308 for further details. * added on_complete parameter for pytest purpose * added loop completed state and loop_completed function * formatting improvements (for mypy) * use Union for typing support in older Python versions * on_exception feature added and deprecation warnings for logger and raise_exception added * Fix TestRepeatEveryWithAsynchronousFunction so that it runs with async functions * add pytest-timeout to package and fix typo * fix function type problems by removing conditional types --------- Co-authored-by: Martin <[email protected]> Co-authored-by: Yuval Levi <[email protected]>
- Loading branch information
1 parent
57b7657
commit fdd2939
Showing
4 changed files
with
214 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.