Skip to content

Commit 673adf0

Browse files
Don't write key to platform directory
1 parent 54a7f5e commit 673adf0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

edsl/coop/coop.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,15 @@ def _resolve_server_response(
220220

221221
print("\n✨ API key retrieved.")
222222

223-
if stored_in_user_space := self.ep_key_handler.ask_to_store(api_key):
224-
pass
225-
else:
226-
path_to_env = write_api_key_to_env(api_key)
227-
print(
228-
"\n✨ API key retrieved and written to .env file at the following path:"
229-
)
230-
print(f" {path_to_env}")
231-
print("Rerun your code to try again with a valid API key.")
223+
# if stored_in_user_space := self.ep_key_handler.ask_to_store(api_key):
224+
# pass
225+
# else:
226+
path_to_env = write_api_key_to_env(api_key)
227+
print(
228+
"\n✨ API key retrieved and written to .env file at the following path:"
229+
)
230+
print(f" {path_to_env}")
231+
print("Rerun your code to try again with a valid API key.")
232232
return
233233

234234
elif "Authorization" in message:

0 commit comments

Comments
 (0)