Skip to content

Fix new_client_from_environment docs and optional token parameter#133

Merged
rishiy15 merged 1 commit intomainfrom
jill/add-token-param
Apr 16, 2026
Merged

Fix new_client_from_environment docs and optional token parameter#133
rishiy15 merged 1 commit intomainfrom
jill/add-token-param

Conversation

@JillRegan
Copy link
Copy Markdown
Contributor

@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
@rishiy15 rishiy15 merged commit 6d5a090 into main Apr 16, 2026
7 checks passed
@rishiy15 rishiy15 deleted the jill/add-token-param branch April 16, 2026 21:40
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