mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 00:20:10 +08:00
Add missing defaults to third-party stubs (#14617)
This commit is contained in:
1 parent
82926783a4
commit
573b57d8da
54 files changed
+383
-376
No files matched your search
@@ -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