Skip to content

Commit af7651f

Browse files
committed
Replace all explicit relative imports with absolute imports
1 parent 4d42064 commit af7651f

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

aiosfstream/__init__.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
"""Salesforce Streaming API client for asyncio"""
22
import logging
33

4-
from ._metadata import VERSION as __version__ # noqa: F401
5-
from .client import Client, SalesforceStreamingClient # noqa: F401
6-
from .auth import PasswordAuthenticator # noqa: F401
7-
from .auth import RefreshTokenAuthenticator # noqa: F401
8-
from .replay import ReplayMarker, ReplayOption # noqa: F401
9-
from .replay import MappingStorage, DefaultMappingStorage # noqa: F401
10-
from .replay import ConstantReplayId, ReplayMarkerStorage # noqa: F401
4+
from aiosfstream._metadata import VERSION as __version__ # noqa: F401
5+
from aiosfstream.client import Client, SalesforceStreamingClient # noqa: F401
6+
from aiosfstream.auth import PasswordAuthenticator # noqa: F401
7+
from aiosfstream.auth import RefreshTokenAuthenticator # noqa: F401
8+
from aiosfstream.replay import ReplayMarker, ReplayOption # noqa: F401
9+
from aiosfstream.replay import MappingStorage # noqa: F401
10+
from aiosfstream.replay import DefaultMappingStorage # noqa: F401
11+
from aiosfstream.replay import ConstantReplayId # noqa: F401
12+
from aiosfstream.replay import ReplayMarkerStorage # noqa: F401
1113

1214
# Create a default handler to avoid warnings in applications without logging
1315
# configuration

aiosfstream/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from aiohttp import ClientSession
1212
from aiohttp.client_exceptions import ClientError
1313

14-
from .exceptions import AuthenticationError
14+
from aiosfstream.exceptions import AuthenticationError
1515

1616

1717
TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"

aiosfstream/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
from aiocometd.exceptions import ServerError
1212
from aiocometd.typing import JsonObject, JsonLoader, JsonDumper
1313

14-
from .auth import AuthenticatorBase, PasswordAuthenticator
15-
from .replay import ReplayOption, ReplayMarkerStorage, MappingStorage, \
16-
ConstantReplayId, ReplayMarker
17-
from .exceptions import translate_errors, translate_errors_context
14+
from aiosfstream.auth import AuthenticatorBase, PasswordAuthenticator
15+
from aiosfstream.replay import ReplayOption, ReplayMarkerStorage, \
16+
MappingStorage, ConstantReplayId, ReplayMarker
17+
from aiosfstream.exceptions import translate_errors, translate_errors_context
1818

1919

2020
COMETD_PATH = "cometd"

0 commit comments

Comments
 (0)