Skip to content
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

Expose Config #123

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Expose Config #123

merged 1 commit into from
Oct 17, 2023

Conversation

Czechh
Copy link
Contributor

@Czechh Czechh commented Oct 17, 2023

A good practice in production environments is to have multiple clients from multiple endpoints and api keys to increase reliability and throughput. But, managing these different clients can be hectic as some fail. Providing a way to debug more easily by exposing the config would be great. A workaround would be to wrap every client in a container with the config info, but it's not ideal.

This simply exposes Config parameter so we can do something like client.config().api_base()

Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

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

Thank you for context and PR!

Please consider this to be part of next v0.15.0 release sometime this month.

@64bit 64bit merged commit c3d670d into 64bit:main Oct 17, 2023
@Czechh Czechh deleted the task/sp/allow-getting-config branch October 17, 2023 23:14
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