Skip to content

Conversation

@THardy98
Copy link
Contributor

What was changed

Fixes typing when passing a loaded config into Client.connect. Raises an error if the loaded config does not provide an address

Why?

Fixes linting errors

  1. How was this tested:
    Run linter, add small test to check that error is raised correctly

  2. Any docs updates needed?
    no

@THardy98 THardy98 requested a review from a team as a code owner July 25, 2025 17:25
if self.namespace is not None:
config["namespace"] = self.namespace
if self.api_key:
if self.api_key is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't think this change is necessary, but I don't mind it.

@THardy98 THardy98 force-pushed the fix_connect_config_typing branch from 40a650b to c48b357 Compare July 28, 2025 19:01
@THardy98 THardy98 changed the title fix typing when passing loaded config into Client.connect Env config improvements Jul 28, 2025
@THardy98 THardy98 force-pushed the fix_connect_config_typing branch from c48b357 to a299415 Compare July 28, 2025 19:21
@THardy98 THardy98 changed the title Env config improvements fix typing when passing loaded config into Client.connec Jul 28, 2025
@THardy98 THardy98 changed the title fix typing when passing loaded config into Client.connec fix typing when passing loaded config into Client.connect Jul 28, 2025
@THardy98 THardy98 merged commit 6f1d62b into main Jul 28, 2025
39 of 42 checks passed
@THardy98 THardy98 deleted the fix_connect_config_typing branch July 28, 2025 20:23
tconley1428 added a commit that referenced this pull request Aug 28, 2025
…r if 'address' not provided by config (#998)

Co-authored-by: tconley1428 <[email protected]>
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