Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP feat(cli) add option to disable api in command line #722

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prmths128
Copy link
Contributor

@prmths128 prmths128 commented Nov 26, 2024

Ask the user to enable/disable the api during config

Copy link
Contributor

@benoit-cty benoit-cty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it's a nice option.

type=str,
default=api_endpoint,
)
overwrite_local_config("api_endpoint", api_endpoint, path=file_path)

print(f"Logging in to auth server at {AUTH_SERVER_URL}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print(f"Logging in to auth server at {AUTH_SERVER_URL}")
print(f"Logging into the auth server at {AUTH_SERVER_URL}")

@@ -2,6 +2,7 @@
import time
from pathlib import Path
from typing import Optional
from uuid import uuid4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This import seems to not be used, right ?

Copy link
Contributor Author

@prmths128 prmths128 Nov 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's used to set a random experiment id, since I thought the experiment id might be needed even with no api.
Not sure though, I have to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants