Skip to content

Conversation

@arteymix
Copy link
Member

@arteymix arteymix commented Oct 3, 2025

Add an enumeration for all the possible path values.

Allow username to be supplied and password to be prompted with getpass.

Add support for GEMMA_USERNAME, GEMMA_PASSWORD and GEMMA_PASSWORD_CMD
environment variables.

@arteymix arteymix requested a review from oganm October 3, 2025 17:11
@arteymix arteymix force-pushed the feature-improved-auth-and-path branch 3 times, most recently from cb8df25 to 2695633 Compare October 3, 2025 17:17
Add an enumeration for all the possible path values.

Allow username to be supplied and password to be prompted with getpass.

Add support for GEMMA_USERNAME, GEMMA_PASSWORD and GEMMA_PASSWORD_CMD
environment variables.
@arteymix arteymix force-pushed the feature-improved-auth-and-path branch from 2695633 to 4a713d3 Compare October 3, 2025 17:24
"""

def __init__(self, auth:list|tuple=None, path="prod"):
def __init__(self, auth: Optional[list | tuple] = None,
Copy link
Member Author

Choose a reason for hiding this comment

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

@oganm I changed the default for auth to be the default host in the OpenAPI specification. This matches the previous behavior of passing prod. However, now when passing prod, it will explicitly use the production path.

@oganm oganm merged commit aa902e6 into master Oct 3, 2025
8 checks passed
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.

3 participants