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 all client attributes in config #177

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented May 28, 2024

Related issues and pull requests

Description

After playing around with some dynamic config, I didn't like how complex it made things. Instead, I'll just make sure to bubble up all client attributes to the top-level config.

This is a breaking change that requires a MAJOR version release.

Also:

  • Removes EarthdataClient.login
  • Makes check_content_type a non-optional param for HttpClient.__init__

Checklist

  • Add tests
  • Add docs
  • Update CHANGELOG

@gadomski gadomski self-assigned this May 28, 2024
Also:

- Removes `EarthdataClient.login`
- Makes `check_content_type` a non-optional param for `HttpClient.__init__`
@gadomski gadomski force-pushed the issues/176-client-config branch from f7b12be to 9ecc342 Compare May 28, 2024 20:26
@gadomski gadomski enabled auto-merge (rebase) May 28, 2024 20:26
@gadomski gadomski merged commit 9800296 into main May 28, 2024
9 checks passed
@gadomski gadomski deleted the issues/176-client-config branch May 28, 2024 20:27
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.

Dynamically build Config from client attributes
1 participant