Skip to content

Commit 401c240

Browse files
chore(internal): reformat imports (#245)
1 parent 2106bc6 commit 401c240

22 files changed

Lines changed: 67 additions & 46 deletions

tests/api_resources/coupons/test_subscriptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import pytest
99

1010
from orb import Orb, AsyncOrb
11+
from orb.types import Subscription
1112
from tests.utils import assert_matches_type
1213
from orb.pagination import SyncPage, AsyncPage
13-
from orb.types.subscription import Subscription
1414

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

tests/api_resources/customers/credits/test_ledger.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
from orb._utils import parse_date, parse_datetime
1212
from tests.utils import assert_matches_type
1313
from orb.pagination import SyncPage, AsyncPage
14-
from orb.types.customers.credits.ledger_list_response import LedgerListResponse
15-
from orb.types.customers.credits.ledger_create_entry_response import LedgerCreateEntryResponse
16-
from orb.types.customers.credits.ledger_list_by_external_id_response import LedgerListByExternalIDResponse
17-
from orb.types.customers.credits.ledger_create_entry_by_external_id_response import (
14+
from orb.types.customers.credits import (
15+
LedgerListResponse,
16+
LedgerCreateEntryResponse,
17+
LedgerListByExternalIDResponse,
1818
LedgerCreateEntryByExternalIDResponse,
1919
)
2020

tests/api_resources/customers/credits/test_top_ups.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
from orb import Orb, AsyncOrb
1111
from tests.utils import assert_matches_type
1212
from orb.pagination import SyncPage, AsyncPage
13-
from orb.types.customers.credits.top_up_list_response import TopUpListResponse
14-
from orb.types.customers.credits.top_up_create_response import TopUpCreateResponse
15-
from orb.types.customers.credits.top_up_list_by_external_id_response import TopUpListByExternalIDResponse
16-
from orb.types.customers.credits.top_up_create_by_external_id_response import TopUpCreateByExternalIDResponse
13+
from orb.types.customers.credits import (
14+
TopUpListResponse,
15+
TopUpCreateResponse,
16+
TopUpListByExternalIDResponse,
17+
TopUpCreateByExternalIDResponse,
18+
)
1719

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

tests/api_resources/customers/test_balance_transactions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
from orb._utils import parse_datetime
1212
from tests.utils import assert_matches_type
1313
from orb.pagination import SyncPage, AsyncPage
14-
from orb.types.customers.balance_transaction_list_response import BalanceTransactionListResponse
15-
from orb.types.customers.balance_transaction_create_response import BalanceTransactionCreateResponse
14+
from orb.types.customers import (
15+
BalanceTransactionListResponse,
16+
BalanceTransactionCreateResponse,
17+
)
1618

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

tests/api_resources/customers/test_costs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
from orb import Orb, AsyncOrb
1111
from orb._utils import parse_datetime
1212
from tests.utils import assert_matches_type
13-
from orb.types.customers.cost_list_response import CostListResponse
14-
from orb.types.customers.cost_list_by_external_id_response import CostListByExternalIDResponse
13+
from orb.types.customers import (
14+
CostListResponse,
15+
CostListByExternalIDResponse,
16+
)
1517

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

tests/api_resources/customers/test_credits.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
from orb import Orb, AsyncOrb
1111
from tests.utils import assert_matches_type
1212
from orb.pagination import SyncPage, AsyncPage
13-
from orb.types.customers.credit_list_response import CreditListResponse
14-
from orb.types.customers.credit_list_by_external_id_response import CreditListByExternalIDResponse
13+
from orb.types.customers import (
14+
CreditListResponse,
15+
CreditListByExternalIDResponse,
16+
)
1517

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

tests/api_resources/customers/test_usage.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
from orb import Orb, AsyncOrb
1111
from orb._utils import parse_datetime
1212
from tests.utils import assert_matches_type
13-
from orb.types.customers.usage_update_response import UsageUpdateResponse
14-
from orb.types.customers.usage_update_by_external_id_response import UsageUpdateByExternalIDResponse
13+
from orb.types.customers import (
14+
UsageUpdateResponse,
15+
UsageUpdateByExternalIDResponse,
16+
)
1517

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

tests/api_resources/events/test_backfills.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
from orb._utils import parse_datetime
1212
from tests.utils import assert_matches_type
1313
from orb.pagination import SyncPage, AsyncPage
14-
from orb.types.events.backfill_list_response import BackfillListResponse
15-
from orb.types.events.backfill_close_response import BackfillCloseResponse
16-
from orb.types.events.backfill_fetch_response import BackfillFetchResponse
17-
from orb.types.events.backfill_create_response import BackfillCreateResponse
18-
from orb.types.events.backfill_revert_response import BackfillRevertResponse
14+
from orb.types.events import (
15+
BackfillListResponse,
16+
BackfillCloseResponse,
17+
BackfillFetchResponse,
18+
BackfillCreateResponse,
19+
BackfillRevertResponse,
20+
)
1921

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

tests/api_resources/plans/test_external_plan_id.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import pytest
99

1010
from orb import Orb, AsyncOrb
11+
from orb.types import Plan
1112
from tests.utils import assert_matches_type
12-
from orb.types.plan import Plan
1313

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

tests/api_resources/prices/test_external_price_id.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import pytest
99

1010
from orb import Orb, AsyncOrb
11+
from orb.types import Price
1112
from tests.utils import assert_matches_type
12-
from orb.types.price import Price
1313

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

0 commit comments

Comments
 (0)