-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process functions: Replace
getfullargspec
with signature
The `inspect.getfullargspec` method is used to analyze the signature of the function wrapped by the process function decorator. This method is outdated and really just kept around for backwards-compatibility. Internally it is using the `inspect.signature` method which has a more modern interface, so here we change the code to use that method instead. This change also prepares the next move that will allow to parse any type annotations for signature parameters to dynamically determine the `valid_type` attribute of the dynamically determined input ports.
- Loading branch information
Showing
1 changed file
with
43 additions
and
30 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