Skip to content

Commit

Permalink
Satiate the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-groundlight committed Sep 5, 2023
1 parent 06af049 commit db3c8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groundlight/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def wrapper(*args, **kwargs):
for name, annotation in method.__annotations__.items():
if get_origin(annotation) is Union:
if str in annotation.__args__:
annotation = str
wrapper.__annotations__[name] = annotation
new_annotation = str
wrapper.__annotations__[name] = new_annotation

return wrapper

Expand Down

0 comments on commit db3c8b6

Please sign in to comment.