supermemory 3.7.0__py3-none-any.whl → 3.19.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. supermemory/_base_client.py +140 -11
  2. supermemory/_client.py +226 -52
  3. supermemory/_models.py +16 -1
  4. supermemory/_streaming.py +12 -10
  5. supermemory/_types.py +12 -2
  6. supermemory/_version.py +1 -1
  7. supermemory/resources/connections.py +219 -29
  8. supermemory/resources/documents.py +306 -2
  9. supermemory/resources/memories.py +270 -1
  10. supermemory/resources/search.py +14 -0
  11. supermemory/resources/settings.py +12 -0
  12. supermemory/types/__init__.py +15 -2
  13. supermemory/types/client_profile_params.py +6 -0
  14. supermemory/types/connection_configure_params.py +12 -0
  15. supermemory/types/connection_configure_response.py +17 -0
  16. supermemory/types/connection_get_by_id_response.py +3 -1
  17. supermemory/types/{connection_get_by_tags_params.py → connection_get_by_tag_params.py} +2 -2
  18. supermemory/types/{connection_get_by_tags_response.py → connection_get_by_tag_response.py} +5 -3
  19. supermemory/types/connection_list_response.py +2 -0
  20. supermemory/types/connection_resources_params.py +13 -0
  21. supermemory/types/connection_resources_response.py +13 -0
  22. supermemory/types/document_batch_add_params.py +84 -0
  23. supermemory/types/document_batch_add_response.py +19 -0
  24. supermemory/types/document_delete_bulk_params.py +18 -0
  25. supermemory/types/document_delete_bulk_response.py +37 -0
  26. supermemory/types/document_get_response.py +7 -0
  27. supermemory/types/document_list_params.py +3790 -3
  28. supermemory/types/document_list_processing_response.py +75 -0
  29. supermemory/types/document_list_response.py +5 -0
  30. supermemory/types/document_upload_file_params.py +8 -0
  31. supermemory/types/memory_forget_params.py +26 -0
  32. supermemory/types/memory_forget_response.py +15 -0
  33. supermemory/types/memory_get_response.py +7 -0
  34. supermemory/types/memory_list_params.py +3790 -3
  35. supermemory/types/memory_list_response.py +5 -0
  36. supermemory/types/memory_update_memory_params.py +31 -0
  37. supermemory/types/memory_update_memory_response.py +31 -0
  38. supermemory/types/memory_upload_file_params.py +8 -0
  39. supermemory/types/profile_response.py +2 -0
  40. supermemory/types/search_documents_params.py +3791 -4
  41. supermemory/types/search_documents_response.py +2 -0
  42. supermemory/types/search_execute_params.py +3791 -4
  43. supermemory/types/search_execute_response.py +2 -0
  44. supermemory/types/search_memories_params.py +3809 -8
  45. supermemory/types/search_memories_response.py +33 -5
  46. supermemory/types/setting_get_response.py +6 -0
  47. supermemory/types/setting_update_params.py +6 -0
  48. supermemory/types/setting_update_response.py +6 -0
  49. {supermemory-3.7.0.dist-info → supermemory-3.19.0.dist-info}/METADATA +12 -2
  50. supermemory-3.19.0.dist-info/RECORD +97 -0
  51. {supermemory-3.7.0.dist-info → supermemory-3.19.0.dist-info}/licenses/LICENSE +1 -1
  52. supermemory-3.7.0.dist-info/RECORD +0 -84
  53. {supermemory-3.7.0.dist-info → supermemory-3.19.0.dist-info}/WHEEL +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, Union, Optional
5
+ from typing import Dict, Union, Iterable, Optional
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
@@ -11,7 +11,9 @@ from ..types import (
11
11
  connection_list_params,
12
12
  connection_create_params,
13
13
  connection_import_params,
14
- connection_get_by_tags_params,
14
+ connection_configure_params,
15
+ connection_resources_params,
16
+ connection_get_by_tag_params,
15
17
  connection_list_documents_params,
16
18
  connection_delete_by_provider_params,
17
19
  )
@@ -28,8 +30,10 @@ from .._response import (
28
30
  from .._base_client import make_request_options
29
31
  from ..types.connection_list_response import ConnectionListResponse
30
32
  from ..types.connection_create_response import ConnectionCreateResponse
33
+ from ..types.connection_configure_response import ConnectionConfigureResponse
31
34
  from ..types.connection_get_by_id_response import ConnectionGetByIDResponse
32
- from ..types.connection_get_by_tags_response import ConnectionGetByTagsResponse
35
+ from ..types.connection_resources_response import ConnectionResourcesResponse
36
+ from ..types.connection_get_by_tag_response import ConnectionGetByTagResponse
33
37
  from ..types.connection_delete_by_id_response import ConnectionDeleteByIDResponse
34
38
  from ..types.connection_list_documents_response import ConnectionListDocumentsResponse
35
39
  from ..types.connection_delete_by_provider_response import ConnectionDeleteByProviderResponse
@@ -59,7 +63,7 @@ class ConnectionsResource(SyncAPIResource):
59
63
 
60
64
  def create(
61
65
  self,
62
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
66
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
63
67
  *,
64
68
  container_tags: SequenceNotStr[str] | Omit = omit,
65
69
  document_limit: int | Omit = omit,
@@ -137,6 +141,41 @@ class ConnectionsResource(SyncAPIResource):
137
141
  cast_to=ConnectionListResponse,
138
142
  )
139
143
 
144
+ def configure(
145
+ self,
146
+ connection_id: str,
147
+ *,
148
+ resources: Iterable[Dict[str, object]],
149
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
150
+ # The extra values given here take precedence over values defined on the client or passed to this method.
151
+ extra_headers: Headers | None = None,
152
+ extra_query: Query | None = None,
153
+ extra_body: Body | None = None,
154
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
155
+ ) -> ConnectionConfigureResponse:
156
+ """
157
+ Configure resources for a connection (supported providers: GitHub for now)
158
+
159
+ Args:
160
+ extra_headers: Send extra headers
161
+
162
+ extra_query: Add additional query parameters to the request
163
+
164
+ extra_body: Add additional JSON properties to the request
165
+
166
+ timeout: Override the client-level default timeout for this request, in seconds
167
+ """
168
+ if not connection_id:
169
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
170
+ return self._post(
171
+ f"/v3/connections/{connection_id}/configure",
172
+ body=maybe_transform({"resources": resources}, connection_configure_params.ConnectionConfigureParams),
173
+ options=make_request_options(
174
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
175
+ ),
176
+ cast_to=ConnectionConfigureResponse,
177
+ )
178
+
140
179
  def delete_by_id(
141
180
  self,
142
181
  connection_id: str,
@@ -172,7 +211,7 @@ class ConnectionsResource(SyncAPIResource):
172
211
 
173
212
  def delete_by_provider(
174
213
  self,
175
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
214
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
176
215
  *,
177
216
  container_tags: SequenceNotStr[str],
178
217
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -243,9 +282,9 @@ class ConnectionsResource(SyncAPIResource):
243
282
  cast_to=ConnectionGetByIDResponse,
244
283
  )
245
284
 
246
- def get_by_tags(
285
+ def get_by_tag(
247
286
  self,
248
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
287
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
249
288
  *,
250
289
  container_tags: SequenceNotStr[str],
251
290
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -254,7 +293,7 @@ class ConnectionsResource(SyncAPIResource):
254
293
  extra_query: Query | None = None,
255
294
  extra_body: Body | None = None,
256
295
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
257
- ) -> ConnectionGetByTagsResponse:
296
+ ) -> ConnectionGetByTagResponse:
258
297
  """
259
298
  Get connection details with provider and container tags
260
299
 
@@ -274,17 +313,17 @@ class ConnectionsResource(SyncAPIResource):
274
313
  return self._post(
275
314
  f"/v3/connections/{provider}/connection",
276
315
  body=maybe_transform(
277
- {"container_tags": container_tags}, connection_get_by_tags_params.ConnectionGetByTagsParams
316
+ {"container_tags": container_tags}, connection_get_by_tag_params.ConnectionGetByTagParams
278
317
  ),
279
318
  options=make_request_options(
280
319
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
281
320
  ),
282
- cast_to=ConnectionGetByTagsResponse,
321
+ cast_to=ConnectionGetByTagResponse,
283
322
  )
284
323
 
285
324
  def import_(
286
325
  self,
287
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
326
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
288
327
  *,
289
328
  container_tags: SequenceNotStr[str] | Omit = omit,
290
329
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -322,7 +361,7 @@ class ConnectionsResource(SyncAPIResource):
322
361
 
323
362
  def list_documents(
324
363
  self,
325
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
364
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
326
365
  *,
327
366
  container_tags: SequenceNotStr[str] | Omit = omit,
328
367
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -359,6 +398,51 @@ class ConnectionsResource(SyncAPIResource):
359
398
  cast_to=ConnectionListDocumentsResponse,
360
399
  )
361
400
 
401
+ def resources(
402
+ self,
403
+ connection_id: str,
404
+ *,
405
+ page: float | Omit = omit,
406
+ per_page: float | Omit = omit,
407
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
408
+ # The extra values given here take precedence over values defined on the client or passed to this method.
409
+ extra_headers: Headers | None = None,
410
+ extra_query: Query | None = None,
411
+ extra_body: Body | None = None,
412
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
413
+ ) -> ConnectionResourcesResponse:
414
+ """
415
+ Fetch resources for a connection (supported providers: GitHub for now)
416
+
417
+ Args:
418
+ extra_headers: Send extra headers
419
+
420
+ extra_query: Add additional query parameters to the request
421
+
422
+ extra_body: Add additional JSON properties to the request
423
+
424
+ timeout: Override the client-level default timeout for this request, in seconds
425
+ """
426
+ if not connection_id:
427
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
428
+ return self._get(
429
+ f"/v3/connections/{connection_id}/resources",
430
+ options=make_request_options(
431
+ extra_headers=extra_headers,
432
+ extra_query=extra_query,
433
+ extra_body=extra_body,
434
+ timeout=timeout,
435
+ query=maybe_transform(
436
+ {
437
+ "page": page,
438
+ "per_page": per_page,
439
+ },
440
+ connection_resources_params.ConnectionResourcesParams,
441
+ ),
442
+ ),
443
+ cast_to=ConnectionResourcesResponse,
444
+ )
445
+
362
446
 
363
447
  class AsyncConnectionsResource(AsyncAPIResource):
364
448
  @cached_property
@@ -382,7 +466,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
382
466
 
383
467
  async def create(
384
468
  self,
385
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
469
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
386
470
  *,
387
471
  container_tags: SequenceNotStr[str] | Omit = omit,
388
472
  document_limit: int | Omit = omit,
@@ -462,6 +546,43 @@ class AsyncConnectionsResource(AsyncAPIResource):
462
546
  cast_to=ConnectionListResponse,
463
547
  )
464
548
 
549
+ async def configure(
550
+ self,
551
+ connection_id: str,
552
+ *,
553
+ resources: Iterable[Dict[str, object]],
554
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
555
+ # The extra values given here take precedence over values defined on the client or passed to this method.
556
+ extra_headers: Headers | None = None,
557
+ extra_query: Query | None = None,
558
+ extra_body: Body | None = None,
559
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
560
+ ) -> ConnectionConfigureResponse:
561
+ """
562
+ Configure resources for a connection (supported providers: GitHub for now)
563
+
564
+ Args:
565
+ extra_headers: Send extra headers
566
+
567
+ extra_query: Add additional query parameters to the request
568
+
569
+ extra_body: Add additional JSON properties to the request
570
+
571
+ timeout: Override the client-level default timeout for this request, in seconds
572
+ """
573
+ if not connection_id:
574
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
575
+ return await self._post(
576
+ f"/v3/connections/{connection_id}/configure",
577
+ body=await async_maybe_transform(
578
+ {"resources": resources}, connection_configure_params.ConnectionConfigureParams
579
+ ),
580
+ options=make_request_options(
581
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
582
+ ),
583
+ cast_to=ConnectionConfigureResponse,
584
+ )
585
+
465
586
  async def delete_by_id(
466
587
  self,
467
588
  connection_id: str,
@@ -497,7 +618,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
497
618
 
498
619
  async def delete_by_provider(
499
620
  self,
500
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
621
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
501
622
  *,
502
623
  container_tags: SequenceNotStr[str],
503
624
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -568,9 +689,9 @@ class AsyncConnectionsResource(AsyncAPIResource):
568
689
  cast_to=ConnectionGetByIDResponse,
569
690
  )
570
691
 
571
- async def get_by_tags(
692
+ async def get_by_tag(
572
693
  self,
573
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
694
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
574
695
  *,
575
696
  container_tags: SequenceNotStr[str],
576
697
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -579,7 +700,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
579
700
  extra_query: Query | None = None,
580
701
  extra_body: Body | None = None,
581
702
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
582
- ) -> ConnectionGetByTagsResponse:
703
+ ) -> ConnectionGetByTagResponse:
583
704
  """
584
705
  Get connection details with provider and container tags
585
706
 
@@ -599,17 +720,17 @@ class AsyncConnectionsResource(AsyncAPIResource):
599
720
  return await self._post(
600
721
  f"/v3/connections/{provider}/connection",
601
722
  body=await async_maybe_transform(
602
- {"container_tags": container_tags}, connection_get_by_tags_params.ConnectionGetByTagsParams
723
+ {"container_tags": container_tags}, connection_get_by_tag_params.ConnectionGetByTagParams
603
724
  ),
604
725
  options=make_request_options(
605
726
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
606
727
  ),
607
- cast_to=ConnectionGetByTagsResponse,
728
+ cast_to=ConnectionGetByTagResponse,
608
729
  )
609
730
 
610
731
  async def import_(
611
732
  self,
612
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
733
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
613
734
  *,
614
735
  container_tags: SequenceNotStr[str] | Omit = omit,
615
736
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -649,7 +770,7 @@ class AsyncConnectionsResource(AsyncAPIResource):
649
770
 
650
771
  async def list_documents(
651
772
  self,
652
- provider: Literal["notion", "google-drive", "onedrive", "web-crawler"],
773
+ provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"],
653
774
  *,
654
775
  container_tags: SequenceNotStr[str] | Omit = omit,
655
776
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -686,6 +807,51 @@ class AsyncConnectionsResource(AsyncAPIResource):
686
807
  cast_to=ConnectionListDocumentsResponse,
687
808
  )
688
809
 
810
+ async def resources(
811
+ self,
812
+ connection_id: str,
813
+ *,
814
+ page: float | Omit = omit,
815
+ per_page: float | Omit = omit,
816
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
817
+ # The extra values given here take precedence over values defined on the client or passed to this method.
818
+ extra_headers: Headers | None = None,
819
+ extra_query: Query | None = None,
820
+ extra_body: Body | None = None,
821
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
822
+ ) -> ConnectionResourcesResponse:
823
+ """
824
+ Fetch resources for a connection (supported providers: GitHub for now)
825
+
826
+ Args:
827
+ extra_headers: Send extra headers
828
+
829
+ extra_query: Add additional query parameters to the request
830
+
831
+ extra_body: Add additional JSON properties to the request
832
+
833
+ timeout: Override the client-level default timeout for this request, in seconds
834
+ """
835
+ if not connection_id:
836
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
837
+ return await self._get(
838
+ f"/v3/connections/{connection_id}/resources",
839
+ options=make_request_options(
840
+ extra_headers=extra_headers,
841
+ extra_query=extra_query,
842
+ extra_body=extra_body,
843
+ timeout=timeout,
844
+ query=await async_maybe_transform(
845
+ {
846
+ "page": page,
847
+ "per_page": per_page,
848
+ },
849
+ connection_resources_params.ConnectionResourcesParams,
850
+ ),
851
+ ),
852
+ cast_to=ConnectionResourcesResponse,
853
+ )
854
+
689
855
 
690
856
  class ConnectionsResourceWithRawResponse:
691
857
  def __init__(self, connections: ConnectionsResource) -> None:
@@ -697,6 +863,9 @@ class ConnectionsResourceWithRawResponse:
697
863
  self.list = to_raw_response_wrapper(
698
864
  connections.list,
699
865
  )
866
+ self.configure = to_raw_response_wrapper(
867
+ connections.configure,
868
+ )
700
869
  self.delete_by_id = to_raw_response_wrapper(
701
870
  connections.delete_by_id,
702
871
  )
@@ -706,8 +875,8 @@ class ConnectionsResourceWithRawResponse:
706
875
  self.get_by_id = to_raw_response_wrapper(
707
876
  connections.get_by_id,
708
877
  )
709
- self.get_by_tags = to_raw_response_wrapper(
710
- connections.get_by_tags,
878
+ self.get_by_tag = to_raw_response_wrapper(
879
+ connections.get_by_tag,
711
880
  )
712
881
  self.import_ = to_raw_response_wrapper(
713
882
  connections.import_,
@@ -715,6 +884,9 @@ class ConnectionsResourceWithRawResponse:
715
884
  self.list_documents = to_raw_response_wrapper(
716
885
  connections.list_documents,
717
886
  )
887
+ self.resources = to_raw_response_wrapper(
888
+ connections.resources,
889
+ )
718
890
 
719
891
 
720
892
  class AsyncConnectionsResourceWithRawResponse:
@@ -727,6 +899,9 @@ class AsyncConnectionsResourceWithRawResponse:
727
899
  self.list = async_to_raw_response_wrapper(
728
900
  connections.list,
729
901
  )
902
+ self.configure = async_to_raw_response_wrapper(
903
+ connections.configure,
904
+ )
730
905
  self.delete_by_id = async_to_raw_response_wrapper(
731
906
  connections.delete_by_id,
732
907
  )
@@ -736,8 +911,8 @@ class AsyncConnectionsResourceWithRawResponse:
736
911
  self.get_by_id = async_to_raw_response_wrapper(
737
912
  connections.get_by_id,
738
913
  )
739
- self.get_by_tags = async_to_raw_response_wrapper(
740
- connections.get_by_tags,
914
+ self.get_by_tag = async_to_raw_response_wrapper(
915
+ connections.get_by_tag,
741
916
  )
742
917
  self.import_ = async_to_raw_response_wrapper(
743
918
  connections.import_,
@@ -745,6 +920,9 @@ class AsyncConnectionsResourceWithRawResponse:
745
920
  self.list_documents = async_to_raw_response_wrapper(
746
921
  connections.list_documents,
747
922
  )
923
+ self.resources = async_to_raw_response_wrapper(
924
+ connections.resources,
925
+ )
748
926
 
749
927
 
750
928
  class ConnectionsResourceWithStreamingResponse:
@@ -757,6 +935,9 @@ class ConnectionsResourceWithStreamingResponse:
757
935
  self.list = to_streamed_response_wrapper(
758
936
  connections.list,
759
937
  )
938
+ self.configure = to_streamed_response_wrapper(
939
+ connections.configure,
940
+ )
760
941
  self.delete_by_id = to_streamed_response_wrapper(
761
942
  connections.delete_by_id,
762
943
  )
@@ -766,8 +947,8 @@ class ConnectionsResourceWithStreamingResponse:
766
947
  self.get_by_id = to_streamed_response_wrapper(
767
948
  connections.get_by_id,
768
949
  )
769
- self.get_by_tags = to_streamed_response_wrapper(
770
- connections.get_by_tags,
950
+ self.get_by_tag = to_streamed_response_wrapper(
951
+ connections.get_by_tag,
771
952
  )
772
953
  self.import_ = to_streamed_response_wrapper(
773
954
  connections.import_,
@@ -775,6 +956,9 @@ class ConnectionsResourceWithStreamingResponse:
775
956
  self.list_documents = to_streamed_response_wrapper(
776
957
  connections.list_documents,
777
958
  )
959
+ self.resources = to_streamed_response_wrapper(
960
+ connections.resources,
961
+ )
778
962
 
779
963
 
780
964
  class AsyncConnectionsResourceWithStreamingResponse:
@@ -787,6 +971,9 @@ class AsyncConnectionsResourceWithStreamingResponse:
787
971
  self.list = async_to_streamed_response_wrapper(
788
972
  connections.list,
789
973
  )
974
+ self.configure = async_to_streamed_response_wrapper(
975
+ connections.configure,
976
+ )
790
977
  self.delete_by_id = async_to_streamed_response_wrapper(
791
978
  connections.delete_by_id,
792
979
  )
@@ -796,8 +983,8 @@ class AsyncConnectionsResourceWithStreamingResponse:
796
983
  self.get_by_id = async_to_streamed_response_wrapper(
797
984
  connections.get_by_id,
798
985
  )
799
- self.get_by_tags = async_to_streamed_response_wrapper(
800
- connections.get_by_tags,
986
+ self.get_by_tag = async_to_streamed_response_wrapper(
987
+ connections.get_by_tag,
801
988
  )
802
989
  self.import_ = async_to_streamed_response_wrapper(
803
990
  connections.import_,
@@ -805,3 +992,6 @@ class AsyncConnectionsResourceWithStreamingResponse:
805
992
  self.list_documents = async_to_streamed_response_wrapper(
806
993
  connections.list_documents,
807
994
  )
995
+ self.resources = async_to_streamed_response_wrapper(
996
+ connections.resources,
997
+ )