Skip to content

Commit f17ccca

Browse files
committed
Fix _sort_supported_kwargs to work with new pyvista positional arguments decorator
1 parent 5aee92d commit f17ccca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/dpf/core/helpers/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _sort_supported_kwargs(bound_method, **kwargs):
3434

3535
warnings.simplefilter("ignore")
3636
# Get supported arguments
37-
supported_args = inspect.getfullargspec(bound_method).args
37+
supported_args = inspect.signature(bound_method).parameters.keys()
3838
kwargs_in = {}
3939
kwargs_not_avail = {}
4040
# Filter the given arguments

0 commit comments

Comments
 (0)