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

refactor(client): remove obsolete is_error_code() #177

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Conversation

afuetterer
Copy link
Owner

Description

httpx actually has a method to test if a http status code is an error. Let's use that one and keep the client smaller.

@afuetterer afuetterer added the type: refactor Changes that neither fix a bug nor adds a feature label Dec 9, 2023
@afuetterer afuetterer merged commit 1e6dfe1 into main Dec 9, 2023
10 checks passed
@afuetterer afuetterer deleted the error branch December 9, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Changes that neither fix a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant