We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9df2d commit 7dc75a9Copy full SHA for 7dc75a9
utils/utils.py
@@ -105,9 +105,10 @@ def set_env(providers: List[str], passkey: str) -> None:
105
result = response.json().get("token")
106
for key in result:
107
os.environ[key] = result[key]
108
- print(f"Set {key} environment variable.")
+ print(f"Successfully set {key} environment variable.")
109
elif status_code == 401:
110
- print(f"{response.json()['error']}. Follow steps in the lab documentation to obtain your own credentials and set them as environment variables.")
+ print(f"{response.json()['error']} Follow steps in the lab documentation to obtain your own credentials and set them as environment variables.")
111
+ break
112
else:
113
print(f"{response.json()['error']}")
114
0 commit comments