Skip to content

Commit cd57747

Browse files
committed
refactor imports
1 parent f100af7 commit cd57747

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .config import configure, set_config_provider
2-
from .pool import client_scope, close_clients
1+
from bubble_data_api_client.config import configure, set_config_provider
2+
from bubble_data_api_client.pool import client_scope, close_clients
33

44
__all__ = ["configure", "set_config_provider", "client_scope", "close_clients"]

src/bubble_data_api_client/pool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
import httpx
1010

11-
from .config import get_config
12-
from .exceptions import ConfigurationError
13-
from .transport import httpx_client_factory
11+
from bubble_data_api_client.config import get_config
12+
from bubble_data_api_client.exceptions import ConfigurationError
13+
from bubble_data_api_client.transport import httpx_client_factory
1414

1515
# global client pool keyed by config
1616
_clients: dict[tuple[str, str], httpx.AsyncClient] = {}

src/bubble_data_api_client/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self) -> None:
3737

3838
async def __aenter__(self) -> typing.Self:
3939
# deferred import to avoid circular dependency: pool imports transport
40-
from .pool import get_client
40+
from bubble_data_api_client.pool import get_client
4141

4242
self._http = get_client()
4343
return self

0 commit comments

Comments
 (0)