mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-24 01:04:22 +01:00
Apply refactoring to some relative import directives.
This commit is contained in:
@@ -2,8 +2,8 @@ from decimal import Decimal
|
||||
from datetime import datetime
|
||||
|
||||
from typing import Union, Optional, List, Tuple
|
||||
from .. enums import OrderType, FundingOfferType
|
||||
from ... types import JSON
|
||||
from ..enums import OrderType, FundingOfferType
|
||||
from ...types import JSON
|
||||
|
||||
class BfxWebSocketInputs:
|
||||
def __init__(self, handle_websocket_input):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pylint: disable-next=wildcard-import,unused-wildcard-import
|
||||
from .. enums import *
|
||||
from ..enums import *
|
||||
|
||||
class Channel(str, Enum):
|
||||
TICKER = "ticker"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .. exceptions import BfxBaseException
|
||||
from ..exceptions import BfxBaseException
|
||||
|
||||
__all__ = [
|
||||
"BfxWebSocketException",
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from .. exceptions import HandlerNotFound
|
||||
from ..exceptions import HandlerNotFound
|
||||
|
||||
from ... types import serializers
|
||||
from ...types import serializers
|
||||
|
||||
from ... types.serializers import _Notification
|
||||
from ...types.serializers import _Notification
|
||||
|
||||
class AuthenticatedEventsHandler:
|
||||
__once_abbreviations = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from .. exceptions import HandlerNotFound
|
||||
from ..exceptions import HandlerNotFound
|
||||
|
||||
from ... types import serializers
|
||||
from ...types import serializers
|
||||
|
||||
class PublicChannelsHandler:
|
||||
ONCE_PER_SUBSCRIPTION_EVENTS = [
|
||||
|
||||
Reference in New Issue
Block a user