|
35 | 35 | ) |
36 | 36 |
|
37 | 37 | if TYPE_CHECKING: |
38 | | - from .resources import sys, auth, user, files, polish, scores, project, dataframes, datasources, integration |
| 38 | + from .resources import sys, auth, user, files, polish, project, dataframes, datasources |
39 | 39 | from .resources.auth import AuthResource, AsyncAuthResource |
40 | 40 | from .resources.files import FilesResource, AsyncFilesResource |
41 | 41 | from .resources.polish import PolishResource, AsyncPolishResource |
42 | | - from .resources.scores import ScoresResource, AsyncScoresResource |
43 | 42 | from .resources.project import ProjectResource, AsyncProjectResource |
44 | 43 | from .resources.sys.sys import SysResource, AsyncSysResource |
45 | 44 | from .resources.user.user import UserResource, AsyncUserResource |
46 | 45 | from .resources.dataframes import DataframesResource, AsyncDataframesResource |
47 | | - from .resources.integration import IntegrationResource, AsyncIntegrationResource |
48 | 46 | from .resources.datasources.datasources import DatasourcesResource, AsyncDatasourcesResource |
49 | 47 |
|
50 | 48 | __all__ = [ |
@@ -143,27 +141,13 @@ def auth(self) -> AuthResource: |
143 | 141 |
|
144 | 142 | return AuthResource(self) |
145 | 143 |
|
146 | | - @cached_property |
147 | | - def integration(self) -> IntegrationResource: |
148 | | - """与第三方平台集成""" |
149 | | - from .resources.integration import IntegrationResource |
150 | | - |
151 | | - return IntegrationResource(self) |
152 | | - |
153 | 144 | @cached_property |
154 | 145 | def project(self) -> ProjectResource: |
155 | 146 | """我的项目""" |
156 | 147 | from .resources.project import ProjectResource |
157 | 148 |
|
158 | 149 | return ProjectResource(self) |
159 | 150 |
|
160 | | - @cached_property |
161 | | - def scores(self) -> ScoresResource: |
162 | | - """评分""" |
163 | | - from .resources.scores import ScoresResource |
164 | | - |
165 | | - return ScoresResource(self) |
166 | | - |
167 | 151 | @cached_property |
168 | 152 | def files(self) -> FilesResource: |
169 | 153 | """数据源管理""" |
@@ -387,27 +371,13 @@ def auth(self) -> AsyncAuthResource: |
387 | 371 |
|
388 | 372 | return AsyncAuthResource(self) |
389 | 373 |
|
390 | | - @cached_property |
391 | | - def integration(self) -> AsyncIntegrationResource: |
392 | | - """与第三方平台集成""" |
393 | | - from .resources.integration import AsyncIntegrationResource |
394 | | - |
395 | | - return AsyncIntegrationResource(self) |
396 | | - |
397 | 374 | @cached_property |
398 | 375 | def project(self) -> AsyncProjectResource: |
399 | 376 | """我的项目""" |
400 | 377 | from .resources.project import AsyncProjectResource |
401 | 378 |
|
402 | 379 | return AsyncProjectResource(self) |
403 | 380 |
|
404 | | - @cached_property |
405 | | - def scores(self) -> AsyncScoresResource: |
406 | | - """评分""" |
407 | | - from .resources.scores import AsyncScoresResource |
408 | | - |
409 | | - return AsyncScoresResource(self) |
410 | | - |
411 | 381 | @cached_property |
412 | 382 | def files(self) -> AsyncFilesResource: |
413 | 383 | """数据源管理""" |
@@ -573,27 +543,13 @@ def auth(self) -> auth.AuthResourceWithRawResponse: |
573 | 543 |
|
574 | 544 | return AuthResourceWithRawResponse(self._client.auth) |
575 | 545 |
|
576 | | - @cached_property |
577 | | - def integration(self) -> integration.IntegrationResourceWithRawResponse: |
578 | | - """与第三方平台集成""" |
579 | | - from .resources.integration import IntegrationResourceWithRawResponse |
580 | | - |
581 | | - return IntegrationResourceWithRawResponse(self._client.integration) |
582 | | - |
583 | 546 | @cached_property |
584 | 547 | def project(self) -> project.ProjectResourceWithRawResponse: |
585 | 548 | """我的项目""" |
586 | 549 | from .resources.project import ProjectResourceWithRawResponse |
587 | 550 |
|
588 | 551 | return ProjectResourceWithRawResponse(self._client.project) |
589 | 552 |
|
590 | | - @cached_property |
591 | | - def scores(self) -> scores.ScoresResourceWithRawResponse: |
592 | | - """评分""" |
593 | | - from .resources.scores import ScoresResourceWithRawResponse |
594 | | - |
595 | | - return ScoresResourceWithRawResponse(self._client.scores) |
596 | | - |
597 | 553 | @cached_property |
598 | 554 | def files(self) -> files.FilesResourceWithRawResponse: |
599 | 555 | """数据源管理""" |
@@ -647,27 +603,13 @@ def auth(self) -> auth.AsyncAuthResourceWithRawResponse: |
647 | 603 |
|
648 | 604 | return AsyncAuthResourceWithRawResponse(self._client.auth) |
649 | 605 |
|
650 | | - @cached_property |
651 | | - def integration(self) -> integration.AsyncIntegrationResourceWithRawResponse: |
652 | | - """与第三方平台集成""" |
653 | | - from .resources.integration import AsyncIntegrationResourceWithRawResponse |
654 | | - |
655 | | - return AsyncIntegrationResourceWithRawResponse(self._client.integration) |
656 | | - |
657 | 606 | @cached_property |
658 | 607 | def project(self) -> project.AsyncProjectResourceWithRawResponse: |
659 | 608 | """我的项目""" |
660 | 609 | from .resources.project import AsyncProjectResourceWithRawResponse |
661 | 610 |
|
662 | 611 | return AsyncProjectResourceWithRawResponse(self._client.project) |
663 | 612 |
|
664 | | - @cached_property |
665 | | - def scores(self) -> scores.AsyncScoresResourceWithRawResponse: |
666 | | - """评分""" |
667 | | - from .resources.scores import AsyncScoresResourceWithRawResponse |
668 | | - |
669 | | - return AsyncScoresResourceWithRawResponse(self._client.scores) |
670 | | - |
671 | 613 | @cached_property |
672 | 614 | def files(self) -> files.AsyncFilesResourceWithRawResponse: |
673 | 615 | """数据源管理""" |
@@ -721,27 +663,13 @@ def auth(self) -> auth.AuthResourceWithStreamingResponse: |
721 | 663 |
|
722 | 664 | return AuthResourceWithStreamingResponse(self._client.auth) |
723 | 665 |
|
724 | | - @cached_property |
725 | | - def integration(self) -> integration.IntegrationResourceWithStreamingResponse: |
726 | | - """与第三方平台集成""" |
727 | | - from .resources.integration import IntegrationResourceWithStreamingResponse |
728 | | - |
729 | | - return IntegrationResourceWithStreamingResponse(self._client.integration) |
730 | | - |
731 | 666 | @cached_property |
732 | 667 | def project(self) -> project.ProjectResourceWithStreamingResponse: |
733 | 668 | """我的项目""" |
734 | 669 | from .resources.project import ProjectResourceWithStreamingResponse |
735 | 670 |
|
736 | 671 | return ProjectResourceWithStreamingResponse(self._client.project) |
737 | 672 |
|
738 | | - @cached_property |
739 | | - def scores(self) -> scores.ScoresResourceWithStreamingResponse: |
740 | | - """评分""" |
741 | | - from .resources.scores import ScoresResourceWithStreamingResponse |
742 | | - |
743 | | - return ScoresResourceWithStreamingResponse(self._client.scores) |
744 | | - |
745 | 673 | @cached_property |
746 | 674 | def files(self) -> files.FilesResourceWithStreamingResponse: |
747 | 675 | """数据源管理""" |
@@ -795,27 +723,13 @@ def auth(self) -> auth.AsyncAuthResourceWithStreamingResponse: |
795 | 723 |
|
796 | 724 | return AsyncAuthResourceWithStreamingResponse(self._client.auth) |
797 | 725 |
|
798 | | - @cached_property |
799 | | - def integration(self) -> integration.AsyncIntegrationResourceWithStreamingResponse: |
800 | | - """与第三方平台集成""" |
801 | | - from .resources.integration import AsyncIntegrationResourceWithStreamingResponse |
802 | | - |
803 | | - return AsyncIntegrationResourceWithStreamingResponse(self._client.integration) |
804 | | - |
805 | 726 | @cached_property |
806 | 727 | def project(self) -> project.AsyncProjectResourceWithStreamingResponse: |
807 | 728 | """我的项目""" |
808 | 729 | from .resources.project import AsyncProjectResourceWithStreamingResponse |
809 | 730 |
|
810 | 731 | return AsyncProjectResourceWithStreamingResponse(self._client.project) |
811 | 732 |
|
812 | | - @cached_property |
813 | | - def scores(self) -> scores.AsyncScoresResourceWithStreamingResponse: |
814 | | - """评分""" |
815 | | - from .resources.scores import AsyncScoresResourceWithStreamingResponse |
816 | | - |
817 | | - return AsyncScoresResourceWithStreamingResponse(self._client.scores) |
818 | | - |
819 | 733 | @cached_property |
820 | 734 | def files(self) -> files.AsyncFilesResourceWithStreamingResponse: |
821 | 735 | """数据源管理""" |
|
0 commit comments