Skip to content

Commit 470d503

Browse files
committed
fix: apply customizations
1 parent e20b7e2 commit 470d503

File tree

8 files changed

+22
-20
lines changed

8 files changed

+22
-20
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ select = [
241241
"TID251",
242242
]
243243
ignore = [
244+
# import sorting - disabled because orb->orb_sdk rename changes sort order
245+
"I001",
244246
# mutable defaults
245247
"B006",
246248
# import sorting - disabled because orb->orb_sdk rename changes sort order

tests/api_resources/licenses/test_external_licenses.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
11-
from orb._utils import parse_date
10+
from orb_sdk import Orb, AsyncOrb
11+
from orb_sdk._utils import parse_date
1212
from tests.utils import assert_matches_type
13-
from orb.types.licenses import ExternalLicenseGetUsageResponse
13+
from orb_sdk.types.licenses import ExternalLicenseGetUsageResponse
1414

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

tests/api_resources/licenses/test_usage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
11-
from orb._utils import parse_date
10+
from orb_sdk import Orb, AsyncOrb
11+
from orb_sdk._utils import parse_date
1212
from tests.utils import assert_matches_type
13-
from orb.types.licenses import (
13+
from orb_sdk.types.licenses import (
1414
UsageGetUsageResponse,
1515
UsageGetAllUsageResponse,
1616
)

tests/api_resources/plans/test_migrations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
10+
from orb_sdk import Orb, AsyncOrb
1111
from tests.utils import assert_matches_type
12-
from orb.pagination import SyncPage, AsyncPage
13-
from orb.types.plans import (
12+
from orb_sdk.pagination import SyncPage, AsyncPage
13+
from orb_sdk.types.plans import (
1414
MigrationListResponse,
1515
MigrationCancelResponse,
1616
MigrationRetrieveResponse,

tests/api_resources/test_credit_blocks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
11-
from orb.types import CreditBlockRetrieveResponse, CreditBlockListInvoicesResponse
10+
from orb_sdk import Orb, AsyncOrb
11+
from orb_sdk.types import CreditBlockRetrieveResponse, CreditBlockListInvoicesResponse
1212
from tests.utils import assert_matches_type
1313

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

tests/api_resources/test_license_types.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
11-
from orb.types import (
10+
from orb_sdk import Orb, AsyncOrb
11+
from orb_sdk.types import (
1212
LicenseTypeListResponse,
1313
LicenseTypeCreateResponse,
1414
LicenseTypeRetrieveResponse,
1515
)
1616
from tests.utils import assert_matches_type
17-
from orb.pagination import SyncPage, AsyncPage
17+
from orb_sdk.pagination import SyncPage, AsyncPage
1818

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

tests/api_resources/test_licenses.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77

88
import pytest
99

10-
from orb import Orb, AsyncOrb
11-
from orb.types import (
10+
from orb_sdk import Orb, AsyncOrb
11+
from orb_sdk.types import (
1212
LicenseListResponse,
1313
LicenseCreateResponse,
1414
LicenseRetrieveResponse,
1515
LicenseDeactivateResponse,
1616
LicenseRetrieveByExternalIDResponse,
1717
)
18-
from orb._utils import parse_date
18+
from orb_sdk._utils import parse_date
1919
from tests.utils import assert_matches_type
20-
from orb.pagination import SyncPage, AsyncPage
20+
from orb_sdk.pagination import SyncPage, AsyncPage
2121

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

tests/test_utils/test_json.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import pydantic
77

8-
from orb import _compat
9-
from orb._utils._json import openapi_dumps
8+
from orb_sdk import _compat
9+
from orb_sdk._utils._json import openapi_dumps
1010

1111

1212
class TestOpenapiDumps:

0 commit comments

Comments
 (0)