mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 01:38:40 +08:00
[channels] Use async def instead of a decorator (#15590)
This commit is contained in:
@@ -7,6 +7,10 @@ channels.auth.UserLazyObject.MultipleObjectsReturned
|
||||
channels.auth.UserLazyObject.NotUpdated
|
||||
channels.auth.UserLazyObject@AnnotatedWith
|
||||
|
||||
# "is not a function", because it's wrapped in database_sync_to_async,
|
||||
# which makes it a class instance.
|
||||
channels.consumer.SyncConsumer.dispatch
|
||||
|
||||
# database_sync_to_async is implemented as a class instance but stubbed as a function
|
||||
# for better type inference when used as decorator/function
|
||||
channels.db.database_sync_to_async
|
||||
|
||||
Reference in New Issue
Block a user