|
52 | 52 | from .types.profile_response import ProfileResponse |
53 | 53 |
|
54 | 54 | if TYPE_CHECKING: |
55 | | - from .resources import search, memories, settings, documents, connections |
| 55 | + from .resources import search, memories, settings, documents |
56 | 56 | from .resources.search import SearchResource, AsyncSearchResource |
57 | 57 | from .resources.memories import MemoriesResource, AsyncMemoriesResource |
58 | 58 | from .resources.settings import SettingsResource, AsyncSettingsResource |
59 | 59 | from .resources.documents import DocumentsResource, AsyncDocumentsResource |
60 | | - from .resources.connections import ConnectionsResource, AsyncConnectionsResource |
61 | 60 |
|
62 | 61 | __all__ = [ |
63 | 62 | "Timeout", |
@@ -161,13 +160,6 @@ def settings(self) -> SettingsResource: |
161 | 160 |
|
162 | 161 | return SettingsResource(self) |
163 | 162 |
|
164 | | - @cached_property |
165 | | - def connections(self) -> ConnectionsResource: |
166 | | - """External service integrations""" |
167 | | - from .resources.connections import ConnectionsResource |
168 | | - |
169 | | - return ConnectionsResource(self) |
170 | | - |
171 | 163 | @cached_property |
172 | 164 | def with_raw_response(self) -> SupermemoryWithRawResponse: |
173 | 165 | return SupermemoryWithRawResponse(self) |
@@ -518,13 +510,6 @@ def settings(self) -> AsyncSettingsResource: |
518 | 510 |
|
519 | 511 | return AsyncSettingsResource(self) |
520 | 512 |
|
521 | | - @cached_property |
522 | | - def connections(self) -> AsyncConnectionsResource: |
523 | | - """External service integrations""" |
524 | | - from .resources.connections import AsyncConnectionsResource |
525 | | - |
526 | | - return AsyncConnectionsResource(self) |
527 | | - |
528 | 513 | @cached_property |
529 | 514 | def with_raw_response(self) -> AsyncSupermemoryWithRawResponse: |
530 | 515 | return AsyncSupermemoryWithRawResponse(self) |
@@ -824,13 +809,6 @@ def settings(self) -> settings.SettingsResourceWithRawResponse: |
824 | 809 |
|
825 | 810 | return SettingsResourceWithRawResponse(self._client.settings) |
826 | 811 |
|
827 | | - @cached_property |
828 | | - def connections(self) -> connections.ConnectionsResourceWithRawResponse: |
829 | | - """External service integrations""" |
830 | | - from .resources.connections import ConnectionsResourceWithRawResponse |
831 | | - |
832 | | - return ConnectionsResourceWithRawResponse(self._client.connections) |
833 | | - |
834 | 812 |
|
835 | 813 | class AsyncSupermemoryWithRawResponse: |
836 | 814 | _client: AsyncSupermemory |
@@ -871,13 +849,6 @@ def settings(self) -> settings.AsyncSettingsResourceWithRawResponse: |
871 | 849 |
|
872 | 850 | return AsyncSettingsResourceWithRawResponse(self._client.settings) |
873 | 851 |
|
874 | | - @cached_property |
875 | | - def connections(self) -> connections.AsyncConnectionsResourceWithRawResponse: |
876 | | - """External service integrations""" |
877 | | - from .resources.connections import AsyncConnectionsResourceWithRawResponse |
878 | | - |
879 | | - return AsyncConnectionsResourceWithRawResponse(self._client.connections) |
880 | | - |
881 | 852 |
|
882 | 853 | class SupermemoryWithStreamedResponse: |
883 | 854 | _client: Supermemory |
@@ -918,13 +889,6 @@ def settings(self) -> settings.SettingsResourceWithStreamingResponse: |
918 | 889 |
|
919 | 890 | return SettingsResourceWithStreamingResponse(self._client.settings) |
920 | 891 |
|
921 | | - @cached_property |
922 | | - def connections(self) -> connections.ConnectionsResourceWithStreamingResponse: |
923 | | - """External service integrations""" |
924 | | - from .resources.connections import ConnectionsResourceWithStreamingResponse |
925 | | - |
926 | | - return ConnectionsResourceWithStreamingResponse(self._client.connections) |
927 | | - |
928 | 892 |
|
929 | 893 | class AsyncSupermemoryWithStreamedResponse: |
930 | 894 | _client: AsyncSupermemory |
@@ -965,13 +929,6 @@ def settings(self) -> settings.AsyncSettingsResourceWithStreamingResponse: |
965 | 929 |
|
966 | 930 | return AsyncSettingsResourceWithStreamingResponse(self._client.settings) |
967 | 931 |
|
968 | | - @cached_property |
969 | | - def connections(self) -> connections.AsyncConnectionsResourceWithStreamingResponse: |
970 | | - """External service integrations""" |
971 | | - from .resources.connections import AsyncConnectionsResourceWithStreamingResponse |
972 | | - |
973 | | - return AsyncConnectionsResourceWithStreamingResponse(self._client.connections) |
974 | | - |
975 | 932 |
|
976 | 933 | Client = Supermemory |
977 | 934 |
|
|
0 commit comments