Skip to content

Fix new_client_from_environment docs and optional token parameter#133

Open
JillRegan wants to merge 1 commit intomainfrom
jill/add-token-param
Open

Fix new_client_from_environment docs and optional token parameter#133
JillRegan wants to merge 1 commit intomainfrom
jill/add-token-param

Conversation

@JillRegan
Copy link
Copy Markdown

@JillRegan JillRegan commented Apr 2, 2026

Updates new_client_from_environment so behavior and docs match: optional token mirrors optional url (use argument or fall back to OP_CONNECT_TOKEN / OP_CONNECT_HOST), fixes the docstring (correct env var names, return type / async note), and uses Optional[str] on the signature.

Resolves: #88

@JillRegan JillRegan changed the title Allow passing in a token Fix new_client_from_environment docs and optional token parameter Apr 2, 2026
@JillRegan JillRegan marked this pull request as ready for review April 2, 2026 12:52
@JillRegan JillRegan requested review from bertrmz and rishiy15 April 2, 2026 12:52
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.

new_client_from_environment() is missing 'token' argument

2 participants