-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typing: Correct type annotation of
WorkChain.on_wait
(#5836)
It was incorrectly using the `Awaitable` defined by `aiida-core` instead of the `typing.Awaitable` class, which is what the actual notation is of the method defined by the `plumpy.processes.Process` base class. The annotation of `Protect.final` is made more specific in passing.
- Loading branch information
1 parent
4db54b7
commit 923cc31
Showing
2 changed files
with
7 additions
and
3 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