File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
"""Salesforce Streaming API client for asyncio"""
2
2
import logging
3
3
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
11
13
12
14
# Create a default handler to avoid warnings in applications without logging
13
15
# configuration
Original file line number Diff line number Diff line change 11
11
from aiohttp import ClientSession
12
12
from aiohttp .client_exceptions import ClientError
13
13
14
- from .exceptions import AuthenticationError
14
+ from aiosfstream .exceptions import AuthenticationError
15
15
16
16
17
17
TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
Original file line number Diff line number Diff line change 11
11
from aiocometd .exceptions import ServerError
12
12
from aiocometd .typing import JsonObject , JsonLoader , JsonDumper
13
13
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
18
18
19
19
20
20
COMETD_PATH = "cometd"
You can’t perform that action at this time.
0 commit comments