From db3c8b624ead026568034473309f0b593593759b Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 5 Sep 2023 15:44:16 -0700 Subject: [PATCH] Satiate the linter --- src/groundlight/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groundlight/cli.py b/src/groundlight/cli.py index ccdb3193..880260f4 100644 --- a/src/groundlight/cli.py +++ b/src/groundlight/cli.py @@ -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