-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces static attribute Operation.unpacked_args_to_init (#73)
* Introduces static attribute Operation.unpacked_args_to_init Passing unpacked args is generally helpful if the class derived from Operation has its constructor implemented as a dataclass. * adds an example for initializing Operation sub-classes via dataclasses * make 'dataclasses' a development dependency
- Loading branch information
1 parent
390b2d3
commit 45f6374
Showing
3 changed files
with
43 additions
and
2 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