Apply refactoring to some relative import directives.

This commit is contained in:
Davide Casale
2023-04-20 15:38:10 +02:00
parent d7ce5630ef
commit 63ab433710
16 changed files with 36 additions and 36 deletions

View File

@@ -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):

View File

@@ -1,5 +1,5 @@
#pylint: disable-next=wildcard-import,unused-wildcard-import
from .. enums import *
from ..enums import *
class Channel(str, Enum):
TICKER = "ticker"

View File

@@ -1,4 +1,4 @@
from .. exceptions import BfxBaseException
from ..exceptions import BfxBaseException
__all__ = [
"BfxWebSocketException",

View File

@@ -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 = {

View File

@@ -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 = [