Skip to content

Commit 88167eb

Browse files
Update src/lmnr/sdk/utils.py
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 497aba9 commit 88167eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lmnr/sdk/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def get_input_from_func_args(
9292
) -> dict[str, typing.Any]:
9393
# Remove implicitly passed "self" or "cls" argument for
9494
# instance or class methods
95-
res = func_kwargs.copy()
95+
res = {k: v for k, v in func_kwargs.items() if not (skip_input_keys and k in skip_input_keys)}
9696
for i, k in enumerate(inspect.signature(func).parameters.keys()):
9797
if is_method and k in ["self", "cls"]:
9898
continue

0 commit comments

Comments
 (0)