import garth import inspect try: # Try to inspect sso.login directly if available from garth import sso print(f"sso.login signature: {inspect.signature(sso.login)}") except ImportError: print("Could not import garth.sso") # Try dummy call to catch argument errors without actually logging in try: print("Testing return_on_mfa=True...") garth.login("dummy", "dummy", return_on_mfa=True) except TypeError as e: print(f"return_on_mfa failed: {e}") except Exception as e: print(f"return_on_mfa result: {type(e).__name__} (This is good, it accepted the arg)") try: print("Testing prompt_mfa=True...") garth.login("dummy", "dummy", prompt_mfa=True) except TypeError as e: print(f"prompt_mfa failed: {e}") except Exception as e: print(f"prompt_mfa result: {type(e).__name__}")