mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 22:34:21 +01:00
Rename bfxapi.utils to _utils (and update references).
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
2
setup.py
2
setup.py
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user