Rename bfxapi.websocket.client to _client and bfxapi.websocket.handlers to _handlers (according to PEP8).

This commit is contained in:
Davide Casale
2023-06-18 01:02:59 +02:00
parent fc84389564
commit 1d911a250c
9 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
from .client import BfxWebSocketClient, BfxWebSocketBucket, BfxWebSocketInputs
from ._client import BfxWebSocketClient, BfxWebSocketBucket, BfxWebSocketInputs

View File

@@ -1,6 +1,6 @@
import asyncio, json, uuid, websockets
from ..handlers import PublicChannelsHandler
from .._handlers import PublicChannelsHandler
from ..exceptions import ConnectionNotOpen, TooManySubscriptions

View File

@@ -9,7 +9,7 @@ from pyee.asyncio import AsyncIOEventEmitter
from .bfx_websocket_bucket import require_websocket_connection, BfxWebSocketBucket
from .bfx_websocket_inputs import BfxWebSocketInputs
from ..handlers import PublicChannelsHandler, AuthEventsHandler
from .._handlers import PublicChannelsHandler, AuthEventsHandler
from ..exceptions import ActionRequiresAuthentication, InvalidAuthenticationCredentials, EventNotSupported, \
ZeroConnectionsError, ReconnectionTimeoutError, OutdatedClientVersion

View File

@@ -33,7 +33,7 @@ setup(
},
packages=[
"bfxapi", "bfxapi.utils", "bfxapi.types",
"bfxapi.websocket", "bfxapi.websocket.client", "bfxapi.websocket.handlers",
"bfxapi.websocket", "bfxapi.websocket._client", "bfxapi.websocket._handlers",
"bfxapi.rest", "bfxapi.rest.endpoints", "bfxapi.rest.middleware",
],
install_requires=[