Skip to content

Commit c446d74

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(internal): remove some duplicated imports (#653)
1 parent 988f2a0 commit c446d74

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

src/lithic/resources/auth_rules/auth_rules.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
from __future__ import annotations
44

5-
from .v2 import (
5+
from .v2.v2 import (
66
V2,
77
AsyncV2,
88
V2WithRawResponse,
99
AsyncV2WithRawResponse,
1010
V2WithStreamingResponse,
1111
AsyncV2WithStreamingResponse,
1212
)
13-
from .v2.v2 import V2, AsyncV2
1413
from ..._compat import cached_property
1514
from ..._resource import SyncAPIResource, AsyncAPIResource
1615

src/lithic/resources/financial_accounts/financial_accounts.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@
3535
LoanTapesWithStreamingResponse,
3636
AsyncLoanTapesWithStreamingResponse,
3737
)
38-
from .statements import (
39-
Statements,
40-
AsyncStatements,
41-
StatementsWithRawResponse,
42-
AsyncStatementsWithRawResponse,
43-
StatementsWithStreamingResponse,
44-
AsyncStatementsWithStreamingResponse,
45-
)
4638
from ..._resource import SyncAPIResource, AsyncAPIResource
4739
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
4840
from ...pagination import SyncSinglePage, AsyncSinglePage
@@ -55,7 +47,14 @@
5547
CreditConfigurationWithStreamingResponse,
5648
AsyncCreditConfigurationWithStreamingResponse,
5749
)
58-
from .statements.statements import Statements, AsyncStatements
50+
from .statements.statements import (
51+
Statements,
52+
AsyncStatements,
53+
StatementsWithRawResponse,
54+
AsyncStatementsWithRawResponse,
55+
StatementsWithStreamingResponse,
56+
AsyncStatementsWithStreamingResponse,
57+
)
5958
from .financial_transactions import (
6059
FinancialTransactions,
6160
AsyncFinancialTransactions,

src/lithic/resources/transactions/transactions.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@
99
import httpx
1010

1111
from ... import _legacy_response
12-
from .events import (
13-
Events,
14-
AsyncEvents,
15-
EventsWithRawResponse,
16-
AsyncEventsWithRawResponse,
17-
EventsWithStreamingResponse,
18-
AsyncEventsWithStreamingResponse,
19-
)
2012
from ...types import (
2113
transaction_list_params,
2214
transaction_simulate_void_params,
@@ -36,7 +28,14 @@
3628
from ..._resource import SyncAPIResource, AsyncAPIResource
3729
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
3830
from ...pagination import SyncCursorPage, AsyncCursorPage
39-
from .events.events import Events, AsyncEvents
31+
from .events.events import (
32+
Events,
33+
AsyncEvents,
34+
EventsWithRawResponse,
35+
AsyncEventsWithRawResponse,
36+
EventsWithStreamingResponse,
37+
AsyncEventsWithStreamingResponse,
38+
)
4039
from ..._base_client import AsyncPaginator, make_request_options
4140
from ...types.transaction import Transaction
4241
from .enhanced_commercial_data import (

0 commit comments

Comments
 (0)