Skip to content

Commit 53edcfc

Browse files
committed
Remove internal function type definitions (more)
1 parent 9551812 commit 53edcfc

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

stubs/channels/channels/layers.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,8 @@ class InMemoryChannelLayer(BaseChannelLayer):
8181
async def send(self, channel: str, message: dict[str, Any]) -> None: ...
8282
async def receive(self, channel: str) -> dict[str, Any]: ...
8383
async def new_channel(self, prefix: str = ...) -> str: ...
84-
def _clean_expired(self) -> None: ...
8584
async def flush(self) -> None: ...
8685
async def close(self) -> None: ...
87-
def _remove_from_groups(self, channel: str) -> None: ...
8886
async def group_add(self, group: str, channel: str) -> None: ...
8987
async def group_discard(self, group: str, channel: str) -> None: ...
9088
async def group_send(self, group: str, message: dict[str, Any]) -> None: ...

stubs/channels/channels/testing/live.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ from typing_extensions import TypeAlias
55
from channels.routing import ProtocolTypeRouter
66
from channels.utils import _ChannelApplication
77
from django.contrib.staticfiles.handlers import ASGIStaticFilesHandler
8-
from django.db.backends.base.base import BaseDatabaseWrapper
9-
from django.db.backends.sqlite3.base import DatabaseWrapper
108
from django.test.testcases import TransactionTestCase
119
from django.test.utils import modify_settings
1210

@@ -30,6 +28,3 @@ class ChannelsLiveServerTestCase(TransactionTestCase):
3028
def live_server_url(self) -> str: ...
3129
@property
3230
def live_server_ws_url(self) -> str: ...
33-
def _pre_setup(self) -> None: ...
34-
def _post_teardown(self) -> None: ...
35-
def _is_in_memory_db(self, connection: BaseDatabaseWrapper | DatabaseWrapper) -> bool: ...

0 commit comments

Comments
 (0)