Skip to content

Commit

Permalink
fix(configure.py): remove assigning of "None" to parameters not given…
Browse files Browse the repository at this point in the history
… in Work, causing TypeError
  • Loading branch information
chrisfandrade16 authored Aug 26, 2024
1 parent 7863735 commit 2fc7a28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions workflow/lifecycle/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ def defaults(func: Callable[..., Any], work: Work) -> Work:
if name_in_function not in known:
if hasattr(parameter, "default"):
options[name_in_cli] = parameter.default
else:
options[name_in_cli] = None
elif name_in_function in known:
options[name_in_cli] = parameters.get(name_in_function) # type: ignore
logger.info(f"click cli options: {options}")
Expand Down

0 comments on commit 2fc7a28

Please sign in to comment.