diff --git a/src/groundlight/cli.py b/src/groundlight/cli.py index c15c4035..36a7c3cc 100644 --- a/src/groundlight/cli.py +++ b/src/groundlight/cli.py @@ -26,13 +26,13 @@ class FakeClass: pass fake_instance = FakeClass() - fake_method = method.__get__(fake_instance, FakeClass) + fake_method = method.__get__(fake_instance, FakeClass) # pylint: disable=all @wraps(fake_method) def wrapper(*args, **kwargs): gl = Groundlight() gl_method = vars(Groundlight)[fake_method.__name__] - gl_bound_method = gl_method.__get__(gl, Groundlight) + gl_bound_method = gl_method.__get__(gl, Groundlight) # pylint: disable=all print(gl_bound_method(*args, **kwargs)) # this is where we output to the console # not recommended practice to directly change annotations, but gets around Typer not supporting Union types