-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaning up and renaming CallDeferred (#513)
* Cleaning up and renaming CallDeferred - Cleans the @CallDeferred decorator's internals to behave equally with or without a task queue - Added more debug to find bugs - Renamed callDeferred to CallDeferred - Added wrapper callDeferred with deprecation warning * Some renamings - Renamed _deferedTasks into _deferred_tasks (typo fix & PEP8) - Renamed internal mkDefered into make_deferred (typo fix & PEP8) * Removed "logger" and use "logging" again IMHO it is better to log everything as usual. We can later add specific loggers. I will explain this in next VIUR meetup. * Use wrapped function instead of lambda to keep task-func name/attrs * Fix typo DEFERED_TASK_CALLED --> DEFERRED_TASK_CALLED Co-authored-by: Sven Eberth <se@mausbrand.de>
- Loading branch information
1 parent
7b5259a
commit 21f8b3e
Showing
11 changed files
with
113 additions
and
83 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
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
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
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
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
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
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
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
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.