From c446d74a9fd059d45d93966dd63894a68a76a965 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:16:20 +0000 Subject: [PATCH] chore(internal): remove some duplicated imports (#653) --- src/lithic/resources/auth_rules/auth_rules.py | 3 +-- .../financial_accounts/financial_accounts.py | 17 ++++++++--------- .../resources/transactions/transactions.py | 17 ++++++++--------- 3 files changed, 17 insertions(+), 20 deletions(-) diff --git a/src/lithic/resources/auth_rules/auth_rules.py b/src/lithic/resources/auth_rules/auth_rules.py index 6ce45ef9..00b99da4 100644 --- a/src/lithic/resources/auth_rules/auth_rules.py +++ b/src/lithic/resources/auth_rules/auth_rules.py @@ -2,7 +2,7 @@ from __future__ import annotations -from .v2 import ( +from .v2.v2 import ( V2, AsyncV2, V2WithRawResponse, @@ -10,7 +10,6 @@ V2WithStreamingResponse, AsyncV2WithStreamingResponse, ) -from .v2.v2 import V2, AsyncV2 from ..._compat import cached_property from ..._resource import SyncAPIResource, AsyncAPIResource diff --git a/src/lithic/resources/financial_accounts/financial_accounts.py b/src/lithic/resources/financial_accounts/financial_accounts.py index decb67ac..4834891d 100644 --- a/src/lithic/resources/financial_accounts/financial_accounts.py +++ b/src/lithic/resources/financial_accounts/financial_accounts.py @@ -35,14 +35,6 @@ LoanTapesWithStreamingResponse, AsyncLoanTapesWithStreamingResponse, ) -from .statements import ( - Statements, - AsyncStatements, - StatementsWithRawResponse, - AsyncStatementsWithRawResponse, - StatementsWithStreamingResponse, - AsyncStatementsWithStreamingResponse, -) from ..._resource import SyncAPIResource, AsyncAPIResource from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper from ...pagination import SyncSinglePage, AsyncSinglePage @@ -55,7 +47,14 @@ CreditConfigurationWithStreamingResponse, AsyncCreditConfigurationWithStreamingResponse, ) -from .statements.statements import Statements, AsyncStatements +from .statements.statements import ( + Statements, + AsyncStatements, + StatementsWithRawResponse, + AsyncStatementsWithRawResponse, + StatementsWithStreamingResponse, + AsyncStatementsWithStreamingResponse, +) from .financial_transactions import ( FinancialTransactions, AsyncFinancialTransactions, diff --git a/src/lithic/resources/transactions/transactions.py b/src/lithic/resources/transactions/transactions.py index eebb2a7c..f38206ee 100644 --- a/src/lithic/resources/transactions/transactions.py +++ b/src/lithic/resources/transactions/transactions.py @@ -9,14 +9,6 @@ import httpx from ... import _legacy_response -from .events import ( - Events, - AsyncEvents, - EventsWithRawResponse, - AsyncEventsWithRawResponse, - EventsWithStreamingResponse, - AsyncEventsWithStreamingResponse, -) from ...types import ( transaction_list_params, transaction_simulate_void_params, @@ -36,7 +28,14 @@ from ..._resource import SyncAPIResource, AsyncAPIResource from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper from ...pagination import SyncCursorPage, AsyncCursorPage -from .events.events import Events, AsyncEvents +from .events.events import ( + Events, + AsyncEvents, + EventsWithRawResponse, + AsyncEventsWithRawResponse, + EventsWithStreamingResponse, + AsyncEventsWithStreamingResponse, +) from ..._base_client import AsyncPaginator, make_request_options from ...types.transaction import Transaction from .enhanced_commercial_data import (