Skip to content

Commit

Permalink
Update easy_run.py
Browse files Browse the repository at this point in the history
Handle list type parameters when assigning params.
  • Loading branch information
LinuxIsCool authored Mar 28, 2024
1 parent 9047c13 commit b285a08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cadCAD/tools/execution/easy_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def describe_or_return(v: object) -> object:
return f'function: {v.__name__}'
elif isinstance(v, types.LambdaType) and v.__name__ == '<lambda>':
return f'lambda: {inspect.signature(v)}'
elif isinstance(v, list):
return str(v)
else:
return v

Expand Down

0 comments on commit b285a08

Please sign in to comment.