Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
yonigozlan committed Oct 24, 2024
1 parent db27af2 commit 31432b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_pipeline_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,7 @@ def data(n):
# check if pipeline call signature has more than one argument
# in this case, we can't use a single generator, we need to collate the data first
input_signature = {
k: v
for k, v in inspect.signature(pipeline.__call__).parameters.items()
if k != "kwargs" and k != "args"
k: v for k, v in inspect.signature(pipeline.__call__).parameters.items() if k not in ("kwargs", "args")
}
if len(input_signature) > 1:
data_list = list(data(10))
Expand Down

0 comments on commit 31432b4

Please sign in to comment.