Skip to content

Commit 6783ef6

Browse files
Reflexcursoragent
andcommitted
chore: fix ruff import sorting for pool bulkhead changes
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bfc71df commit 6783ef6

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/runloop_api_client/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
)
2727
from ._compat import cached_property
2828
from ._version import __version__
29+
from ._constants import DEFAULT_TRANSFER_POOL_SHARDS, DEFAULT_BACKGROUND_POOL_SHARDS
2930
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
3031
from ._exceptions import RunloopError, APIStatusError
3132
from ._base_client import (
3233
DEFAULT_MAX_RETRIES,
3334
SyncAPIClient,
3435
AsyncAPIClient,
3536
)
36-
from ._constants import DEFAULT_BACKGROUND_POOL_SHARDS, DEFAULT_TRANSFER_POOL_SHARDS
3737

3838
if TYPE_CHECKING:
3939
from .resources import (

src/runloop_api_client/sdk/async_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
)
4141
from .._types import Timeout, NotGiven, not_given
4242
from .._client import DEFAULT_MAX_RETRIES, AsyncRunloop
43-
from .._constants import DEFAULT_BACKGROUND_POOL_SHARDS, DEFAULT_TRANSFER_POOL_SHARDS
4443
from ._helpers import detect_content_type
4544
from .async_axon import AsyncAxon
45+
from .._constants import DEFAULT_TRANSFER_POOL_SHARDS, DEFAULT_BACKGROUND_POOL_SHARDS
4646
from .async_agent import AsyncAgent
4747
from .async_devbox import AsyncDevbox
4848
from .async_scorer import AsyncScorer

src/runloop_api_client/sdk/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
from .secret import Secret
4545
from .._types import Timeout, NotGiven, not_given
4646
from .._client import DEFAULT_MAX_RETRIES, Runloop
47-
from .._constants import DEFAULT_BACKGROUND_POOL_SHARDS, DEFAULT_TRANSFER_POOL_SHARDS
4847
from ._helpers import detect_content_type
4948
from .scenario import Scenario
5049
from .snapshot import Snapshot
5150
from .benchmark import Benchmark
5251
from .blueprint import Blueprint
5352
from .mcp_config import McpConfig
53+
from .._constants import DEFAULT_TRANSFER_POOL_SHARDS, DEFAULT_BACKGROUND_POOL_SHARDS
5454
from .gateway_config import GatewayConfig
5555
from .network_policy import NetworkPolicy
5656
from .storage_object import StorageObject

tests/test_transfer_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import runloop_api_client._base_client as _base_mod
1212
from runloop_api_client import Runloop, AsyncRunloop
1313
from runloop_api_client._base_client import (
14-
_is_background_path,
14+
_shard_index,
1515
_is_transfer_path,
1616
_pool_affinity_key,
17-
_shard_index,
17+
_is_background_path,
1818
)
1919

2020
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")

0 commit comments

Comments
 (0)