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

Adjust type of exception_handlers to allow async callable #1423

Merged
merged 1 commit into from Jan 21, 2022
Merged

Adjust type of exception_handlers to allow async callable #1423

merged 1 commit into from Jan 21, 2022

Conversation

michaeloliverx
Copy link
Member

In #1360 the type for exception_handlers was updated but it now only accounts for callables that return a Response. We can have sync and async handlers here so this change should fix that.

@aminalaee
Copy link
Member

aminalaee commented Jan 21, 2022

Great 👍

@aminalaee aminalaee merged commit 1974937 into encode:master Jan 21, 2022
@aminalaee aminalaee mentioned this pull request Jan 22, 2022
8 tasks
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.

None yet

3 participants