Skip to content

Commit

Permalink
Changed from deprecated inspect.getargspec to inspect.getfullargspec …
Browse files Browse the repository at this point in the history
…in client/decorators.py
  • Loading branch information
davidraker committed Oct 4, 2024
1 parent 8cb0ff1 commit 806525d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volttron/client/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_core_builder(name: Optional[str] = None, **kwargs) -> CoreBuilder:

# __core_builder__ = importlib.import_module(new_package)

specs = inspect.getargspec(__core_builder__.__init__)
specs = inspect.getfullargspec(__core_builder__.__init__)
# for k, v in kwargs.items():
# if k not in signature.parameters:
# raise ValueError(f"Invalid parameter {k} signature has {signature.parameters}")
Expand Down

0 comments on commit 806525d

Please sign in to comment.