|
31 | 31 | ) |
32 | 32 |
|
33 | 33 | if TYPE_CHECKING: |
34 | | - from .resources import ( |
35 | | - cdsl, |
36 | | - logs, |
37 | | - nsdl, |
38 | | - inbox, |
39 | | - smart, |
40 | | - credits, |
41 | | - kfintech, |
42 | | - access_token, |
43 | | - verify_token, |
44 | | - cams_kfintech, |
45 | | - contract_note, |
46 | | - ) |
47 | | - from .resources.logs import LogsResource, AsyncLogsResource |
| 34 | + from .resources import cdsl, nsdl, inbox, smart, kfintech, cams_kfintech, contract_note |
48 | 35 | from .resources.nsdl import NsdlResource, AsyncNsdlResource |
49 | 36 | from .resources.inbox import InboxResource, AsyncInboxResource |
50 | 37 | from .resources.smart import SmartResource, AsyncSmartResource |
51 | | - from .resources.credits import CreditsResource, AsyncCreditsResource |
52 | 38 | from .resources.kfintech import KfintechResource, AsyncKfintechResource |
53 | 39 | from .resources.cdsl.cdsl import CdslResource, AsyncCdslResource |
54 | | - from .resources.access_token import AccessTokenResource, AsyncAccessTokenResource |
55 | | - from .resources.verify_token import VerifyTokenResource, AsyncVerifyTokenResource |
56 | 40 | from .resources.cams_kfintech import CamsKfintechResource, AsyncCamsKfintechResource |
57 | 41 | from .resources.contract_note import ContractNoteResource, AsyncContractNoteResource |
58 | 42 |
|
@@ -154,30 +138,6 @@ def __init__( |
154 | 138 | _strict_response_validation=_strict_response_validation, |
155 | 139 | ) |
156 | 140 |
|
157 | | - @cached_property |
158 | | - def credits(self) -> CreditsResource: |
159 | | - from .resources.credits import CreditsResource |
160 | | - |
161 | | - return CreditsResource(self) |
162 | | - |
163 | | - @cached_property |
164 | | - def logs(self) -> LogsResource: |
165 | | - from .resources.logs import LogsResource |
166 | | - |
167 | | - return LogsResource(self) |
168 | | - |
169 | | - @cached_property |
170 | | - def access_token(self) -> AccessTokenResource: |
171 | | - from .resources.access_token import AccessTokenResource |
172 | | - |
173 | | - return AccessTokenResource(self) |
174 | | - |
175 | | - @cached_property |
176 | | - def verify_token(self) -> VerifyTokenResource: |
177 | | - from .resources.verify_token import VerifyTokenResource |
178 | | - |
179 | | - return VerifyTokenResource(self) |
180 | | - |
181 | 141 | @cached_property |
182 | 142 | def cams_kfintech(self) -> CamsKfintechResource: |
183 | 143 | from .resources.cams_kfintech import CamsKfintechResource |
@@ -414,30 +374,6 @@ def __init__( |
414 | 374 | _strict_response_validation=_strict_response_validation, |
415 | 375 | ) |
416 | 376 |
|
417 | | - @cached_property |
418 | | - def credits(self) -> AsyncCreditsResource: |
419 | | - from .resources.credits import AsyncCreditsResource |
420 | | - |
421 | | - return AsyncCreditsResource(self) |
422 | | - |
423 | | - @cached_property |
424 | | - def logs(self) -> AsyncLogsResource: |
425 | | - from .resources.logs import AsyncLogsResource |
426 | | - |
427 | | - return AsyncLogsResource(self) |
428 | | - |
429 | | - @cached_property |
430 | | - def access_token(self) -> AsyncAccessTokenResource: |
431 | | - from .resources.access_token import AsyncAccessTokenResource |
432 | | - |
433 | | - return AsyncAccessTokenResource(self) |
434 | | - |
435 | | - @cached_property |
436 | | - def verify_token(self) -> AsyncVerifyTokenResource: |
437 | | - from .resources.verify_token import AsyncVerifyTokenResource |
438 | | - |
439 | | - return AsyncVerifyTokenResource(self) |
440 | | - |
441 | 377 | @cached_property |
442 | 378 | def cams_kfintech(self) -> AsyncCamsKfintechResource: |
443 | 379 | from .resources.cams_kfintech import AsyncCamsKfintechResource |
@@ -601,30 +537,6 @@ class CasParserWithRawResponse: |
601 | 537 | def __init__(self, client: CasParser) -> None: |
602 | 538 | self._client = client |
603 | 539 |
|
604 | | - @cached_property |
605 | | - def credits(self) -> credits.CreditsResourceWithRawResponse: |
606 | | - from .resources.credits import CreditsResourceWithRawResponse |
607 | | - |
608 | | - return CreditsResourceWithRawResponse(self._client.credits) |
609 | | - |
610 | | - @cached_property |
611 | | - def logs(self) -> logs.LogsResourceWithRawResponse: |
612 | | - from .resources.logs import LogsResourceWithRawResponse |
613 | | - |
614 | | - return LogsResourceWithRawResponse(self._client.logs) |
615 | | - |
616 | | - @cached_property |
617 | | - def access_token(self) -> access_token.AccessTokenResourceWithRawResponse: |
618 | | - from .resources.access_token import AccessTokenResourceWithRawResponse |
619 | | - |
620 | | - return AccessTokenResourceWithRawResponse(self._client.access_token) |
621 | | - |
622 | | - @cached_property |
623 | | - def verify_token(self) -> verify_token.VerifyTokenResourceWithRawResponse: |
624 | | - from .resources.verify_token import VerifyTokenResourceWithRawResponse |
625 | | - |
626 | | - return VerifyTokenResourceWithRawResponse(self._client.verify_token) |
627 | | - |
628 | 540 | @cached_property |
629 | 541 | def cams_kfintech(self) -> cams_kfintech.CamsKfintechResourceWithRawResponse: |
630 | 542 | from .resources.cams_kfintech import CamsKfintechResourceWithRawResponse |
@@ -674,30 +586,6 @@ class AsyncCasParserWithRawResponse: |
674 | 586 | def __init__(self, client: AsyncCasParser) -> None: |
675 | 587 | self._client = client |
676 | 588 |
|
677 | | - @cached_property |
678 | | - def credits(self) -> credits.AsyncCreditsResourceWithRawResponse: |
679 | | - from .resources.credits import AsyncCreditsResourceWithRawResponse |
680 | | - |
681 | | - return AsyncCreditsResourceWithRawResponse(self._client.credits) |
682 | | - |
683 | | - @cached_property |
684 | | - def logs(self) -> logs.AsyncLogsResourceWithRawResponse: |
685 | | - from .resources.logs import AsyncLogsResourceWithRawResponse |
686 | | - |
687 | | - return AsyncLogsResourceWithRawResponse(self._client.logs) |
688 | | - |
689 | | - @cached_property |
690 | | - def access_token(self) -> access_token.AsyncAccessTokenResourceWithRawResponse: |
691 | | - from .resources.access_token import AsyncAccessTokenResourceWithRawResponse |
692 | | - |
693 | | - return AsyncAccessTokenResourceWithRawResponse(self._client.access_token) |
694 | | - |
695 | | - @cached_property |
696 | | - def verify_token(self) -> verify_token.AsyncVerifyTokenResourceWithRawResponse: |
697 | | - from .resources.verify_token import AsyncVerifyTokenResourceWithRawResponse |
698 | | - |
699 | | - return AsyncVerifyTokenResourceWithRawResponse(self._client.verify_token) |
700 | | - |
701 | 589 | @cached_property |
702 | 590 | def cams_kfintech(self) -> cams_kfintech.AsyncCamsKfintechResourceWithRawResponse: |
703 | 591 | from .resources.cams_kfintech import AsyncCamsKfintechResourceWithRawResponse |
@@ -747,30 +635,6 @@ class CasParserWithStreamedResponse: |
747 | 635 | def __init__(self, client: CasParser) -> None: |
748 | 636 | self._client = client |
749 | 637 |
|
750 | | - @cached_property |
751 | | - def credits(self) -> credits.CreditsResourceWithStreamingResponse: |
752 | | - from .resources.credits import CreditsResourceWithStreamingResponse |
753 | | - |
754 | | - return CreditsResourceWithStreamingResponse(self._client.credits) |
755 | | - |
756 | | - @cached_property |
757 | | - def logs(self) -> logs.LogsResourceWithStreamingResponse: |
758 | | - from .resources.logs import LogsResourceWithStreamingResponse |
759 | | - |
760 | | - return LogsResourceWithStreamingResponse(self._client.logs) |
761 | | - |
762 | | - @cached_property |
763 | | - def access_token(self) -> access_token.AccessTokenResourceWithStreamingResponse: |
764 | | - from .resources.access_token import AccessTokenResourceWithStreamingResponse |
765 | | - |
766 | | - return AccessTokenResourceWithStreamingResponse(self._client.access_token) |
767 | | - |
768 | | - @cached_property |
769 | | - def verify_token(self) -> verify_token.VerifyTokenResourceWithStreamingResponse: |
770 | | - from .resources.verify_token import VerifyTokenResourceWithStreamingResponse |
771 | | - |
772 | | - return VerifyTokenResourceWithStreamingResponse(self._client.verify_token) |
773 | | - |
774 | 638 | @cached_property |
775 | 639 | def cams_kfintech(self) -> cams_kfintech.CamsKfintechResourceWithStreamingResponse: |
776 | 640 | from .resources.cams_kfintech import CamsKfintechResourceWithStreamingResponse |
@@ -820,30 +684,6 @@ class AsyncCasParserWithStreamedResponse: |
820 | 684 | def __init__(self, client: AsyncCasParser) -> None: |
821 | 685 | self._client = client |
822 | 686 |
|
823 | | - @cached_property |
824 | | - def credits(self) -> credits.AsyncCreditsResourceWithStreamingResponse: |
825 | | - from .resources.credits import AsyncCreditsResourceWithStreamingResponse |
826 | | - |
827 | | - return AsyncCreditsResourceWithStreamingResponse(self._client.credits) |
828 | | - |
829 | | - @cached_property |
830 | | - def logs(self) -> logs.AsyncLogsResourceWithStreamingResponse: |
831 | | - from .resources.logs import AsyncLogsResourceWithStreamingResponse |
832 | | - |
833 | | - return AsyncLogsResourceWithStreamingResponse(self._client.logs) |
834 | | - |
835 | | - @cached_property |
836 | | - def access_token(self) -> access_token.AsyncAccessTokenResourceWithStreamingResponse: |
837 | | - from .resources.access_token import AsyncAccessTokenResourceWithStreamingResponse |
838 | | - |
839 | | - return AsyncAccessTokenResourceWithStreamingResponse(self._client.access_token) |
840 | | - |
841 | | - @cached_property |
842 | | - def verify_token(self) -> verify_token.AsyncVerifyTokenResourceWithStreamingResponse: |
843 | | - from .resources.verify_token import AsyncVerifyTokenResourceWithStreamingResponse |
844 | | - |
845 | | - return AsyncVerifyTokenResourceWithStreamingResponse(self._client.verify_token) |
846 | | - |
847 | 687 | @cached_property |
848 | 688 | def cams_kfintech(self) -> cams_kfintech.AsyncCamsKfintechResourceWithStreamingResponse: |
849 | 689 | from .resources.cams_kfintech import AsyncCamsKfintechResourceWithStreamingResponse |
|
0 commit comments