mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 10:52:31 +08:00
Add missing defaults to third-party stubs (#14617)
This commit is contained in:
@@ -72,7 +72,7 @@ class InMemoryChannelLayer(BaseChannelLayer):
|
||||
expiry: int = 60,
|
||||
group_expiry: int = 86400,
|
||||
capacity: int = 100,
|
||||
channel_capacity: _ChannelCapacityDict | None = ...,
|
||||
channel_capacity: _ChannelCapacityDict | None = None,
|
||||
) -> None: ...
|
||||
|
||||
extensions: list[str]
|
||||
@@ -86,6 +86,6 @@ class InMemoryChannelLayer(BaseChannelLayer):
|
||||
async def group_discard(self, group: str, channel: str) -> None: ...
|
||||
async def group_send(self, group: str, message: dict[str, Any]) -> None: ...
|
||||
|
||||
def get_channel_layer(alias: str = ...) -> BaseChannelLayer | None: ...
|
||||
def get_channel_layer(alias: str = "default") -> BaseChannelLayer | None: ...
|
||||
|
||||
channel_layers: ChannelLayerManager
|
||||
|
||||
Reference in New Issue
Block a user