We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 497aba9 commit 88167ebCopy full SHA for 88167eb
src/lmnr/sdk/utils.py
@@ -92,7 +92,7 @@ def get_input_from_func_args(
92
) -> dict[str, typing.Any]:
93
# Remove implicitly passed "self" or "cls" argument for
94
# instance or class methods
95
- res = func_kwargs.copy()
+ res = {k: v for k, v in func_kwargs.items() if not (skip_input_keys and k in skip_input_keys)}
96
for i, k in enumerate(inspect.signature(func).parameters.keys()):
97
if is_method and k in ["self", "cls"]:
98
continue
0 commit comments