Skip to content

Adjust type of exception_handlers to allow async callable#1423

Merged
aminalaee merged 1 commit intoKludex:masterfrom
michaeloliverx:master
Jan 21, 2022
Merged

Adjust type of exception_handlers to allow async callable#1423
aminalaee merged 1 commit intoKludex:masterfrom
michaeloliverx:master

Conversation

@michaeloliverx
Copy link

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
Contributor

aminalaee commented Jan 21, 2022

Great 👍

@aminalaee aminalaee merged commit 1974937 into Kludex: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.

3 participants