Skip to content

fix typing when passing loaded config into Client.connect #998

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

Merged
merged 4 commits into from
Jul 28, 2025

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
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
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