Rename bfxapi.utils to _utils (and update references).

This commit is contained in:
Davide Casale
2023-06-19 05:02:04 +02:00
parent f1e678e043
commit 9edbd7a415
9 changed files with 7 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ from ...types import serializers
from ...types.serializers import _Notification
from ...utils.json_encoder import JSON
from ..._utils.json_encoder import JSON
class RestAuthEndpoints(Middleware):
def get_user_info(self) -> UserInfo:

View File

@@ -6,7 +6,7 @@ import time, hmac, hashlib, json, requests
from ..enums import Error
from ..exceptions import ResourceNotFound, RequestParametersError, InvalidAuthenticationCredentials, UnknownGenericError
from ...utils.json_encoder import JSONEncoder
from ..._utils.json_encoder import JSONEncoder
if TYPE_CHECKING:
from requests.sessions import _Params

View File

@@ -5,7 +5,7 @@ from dataclasses import dataclass
from .labeler import _Type, partial, compose
from ..utils.json_encoder import JSON
from .._utils.json_encoder import JSON
#region Dataclass definitions for types of public use

View File

@@ -15,9 +15,9 @@ import \
from websockets.legacy.client import connect as _websockets__connect
from bfxapi.utils.json_encoder import JSONEncoder
from bfxapi._utils.json_encoder import JSONEncoder
from bfxapi.utils.logger import \
from bfxapi._utils.logger import \
ColorLogger, FileLogger
from bfxapi.websocket._handlers import \

View File

@@ -5,7 +5,7 @@ if TYPE_CHECKING:
from bfxapi.enums import \
OrderType, FundingOfferType
from bfxapi.utils.json_encoder import JSON
from bfxapi._utils.json_encoder import JSON
from decimal import Decimal

View File

@@ -32,7 +32,7 @@ setup(
"Source": "https://github.com/bitfinexcom/bitfinex-api-py",
},
packages=[
"bfxapi", "bfxapi.utils", "bfxapi.types",
"bfxapi", "bfxapi._utils", "bfxapi.types",
"bfxapi.websocket", "bfxapi.websocket._client", "bfxapi.websocket._handlers",
"bfxapi.websocket._event_emitter",
"bfxapi.rest", "bfxapi.rest.endpoints", "bfxapi.rest.middleware",