Fix typing error

This commit is contained in:
Adam Hopkins 2022-08-17 15:26:59 +03:00
parent 78bc475bb1
commit 09b59d34fe
No known key found for this signature in database
GPG Key ID: 9F85EE6C807303FB

View File

@ -47,9 +47,7 @@ class Middleware:
@classmethod
def convert(
cls,
*middleware_collections: Sequence[
Optional[Union[Middleware, MiddlewareType]]
],
*middleware_collections: Sequence[Union[Middleware, MiddlewareType]],
location: MiddlewareLocation,
) -> Deque[Middleware]:
return deque(