-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move aggregator to keyword argument in operation decorator (#681)
* refactor: Standardize future(deprecation) warnings * feat: Add aggregator argument to FlowProject.operation Also deprecate the use of aggregator as a decorator. * test: Update tests with new FlowProject.operation * doc: Update aggregator documentation * refactor: _deprecated_warning to keyword only arguments * doc: Fix typo in aggregator spelling Co-authored-by: Bradley Dice <bdice@bradleydice.com> * fix: Correctly issue warnings from caller `_deprecated_warning` now issues warning from the caller's stack level. Co-authored-by: Bradley Dice <bdice@bradleydice.com> * fix: Remove unnecssarying typing quotations Co-authored-by: Bradley Dice <bdice@bradleydice.com>
- Loading branch information
Showing
6 changed files
with
118 additions
and
44 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