Add missing defaults to third-party stubs (#14617)

This commit is contained in:
Jelle Zijlstra
2025-08-21 13:36:29 -07:00
committed by GitHub
parent 82926783a4
commit 573b57d8da
54 changed files with 383 additions and 376 deletions
+2 -2
View File
@@ -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