Skip to content

Commit 68b8a80

Browse files
committed
chore: rename realtime_channel.py and default_vcdiff_decoder.py
Renamed files for consistency across SDK
1 parent 1ed0272 commit 68b8a80

9 files changed

Lines changed: 7 additions & 7 deletions

ably/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from ably.types.options import Options, VCDiffDecoder
1313
from ably.util.crypto import CipherParams
1414
from ably.util.exceptions import AblyAuthException, AblyException, IncompatibleClientIdException
15-
from ably.vcdiff.default_vcdiff_decoder import AblyVCDiffDecoder
15+
from ably.vcdiff.defaultvcdiffdecoder import AblyVCDiffDecoder
1616

1717
logger = logging.getLogger(__name__)
1818
logger.addHandler(logging.NullHandler())

ably/realtime/realtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Optional
44

55
from ably.realtime.connection import Connection, ConnectionState
6-
from ably.realtime.realtime_channel import Channels
6+
from ably.realtime.realtimechannel import Channels
77
from ably.rest.rest import AblyRest
88

99
log = logging.getLogger(__name__)

ably/realtime/realtimepresence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ably.util.exceptions import AblyException
2121

2222
if TYPE_CHECKING:
23-
from ably.realtime.realtime_channel import RealtimeChannel
23+
from ably.realtime.realtimechannel import RealtimeChannel
2424

2525
log = logging.getLogger(__name__)
2626

test/ably/realtime/realtimechannel_publish_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44

55
from ably.realtime.connection import ConnectionState
6-
from ably.realtime.realtime_channel import ChannelOptions, ChannelState
6+
from ably.realtime.realtimechannel import ChannelOptions, ChannelState
77
from ably.transport.websockettransport import ProtocolMessageAction
88
from ably.types.message import Message
99
from ably.util.crypto import CipherParams

test/ably/realtime/realtimechannel_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44

55
from ably.realtime.connection import ConnectionState
6-
from ably.realtime.realtime_channel import ChannelOptions, ChannelState, RealtimeChannel
6+
from ably.realtime.realtimechannel import ChannelOptions, ChannelState, RealtimeChannel
77
from ably.transport.websockettransport import ProtocolMessageAction
88
from ably.types.message import Message
99
from ably.util.exceptions import AblyException

test/ably/realtime/realtimechannel_vcdiff_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from ably import AblyVCDiffDecoder
77
from ably.realtime.connection import ConnectionState
8-
from ably.realtime.realtime_channel import ChannelOptions
8+
from ably.realtime.realtimechannel import ChannelOptions
99
from ably.types.options import VCDiffDecoder
1010
from test.ably.testapp import TestApp
1111
from test.ably.utils import BaseAsyncTestCase, WaitableEvent

test/ably/realtime/realtimeresume_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44

55
from ably.realtime.connection import ConnectionState
6-
from ably.realtime.realtime_channel import ChannelState
6+
from ably.realtime.realtimechannel import ChannelState
77
from ably.transport.websockettransport import ProtocolMessageAction
88
from test.ably.testapp import TestApp
99
from test.ably.utils import BaseAsyncTestCase, random_string

0 commit comments

Comments
 (0)