groundx 2.4.0__tar.gz → 2.4.1__tar.gz

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.

Potentially problematic release.


This version of groundx might be problematic. Click here for more details.

Files changed (96) hide show
  1. {groundx-2.4.0 → groundx-2.4.1}/PKG-INFO +1 -1
  2. {groundx-2.4.0 → groundx-2.4.1}/pyproject.toml +1 -1
  3. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/buckets/client.py +8 -2
  4. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/client_wrapper.py +2 -2
  5. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/documents/client.py +36 -4
  6. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/groups/client.py +8 -2
  7. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/search/client.py +8 -0
  8. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_detail.py +7 -0
  9. {groundx-2.4.0 → groundx-2.4.1}/LICENSE +0 -0
  10. {groundx-2.4.0 → groundx-2.4.1}/README.md +0 -0
  11. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/__init__.py +0 -0
  12. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/buckets/__init__.py +0 -0
  13. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/buckets/raw_client.py +0 -0
  14. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/client.py +0 -0
  15. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/__init__.py +0 -0
  16. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/api_error.py +0 -0
  17. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/datetime_utils.py +0 -0
  18. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/file.py +0 -0
  19. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/force_multipart.py +0 -0
  20. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/http_client.py +0 -0
  21. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/http_response.py +0 -0
  22. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/jsonable_encoder.py +0 -0
  23. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/pydantic_utilities.py +0 -0
  24. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/query_encoder.py +0 -0
  25. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/remove_none_from_dict.py +0 -0
  26. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/request_options.py +0 -0
  27. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/core/serialization.py +0 -0
  28. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/csv_splitter.py +0 -0
  29. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/customer/__init__.py +0 -0
  30. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/customer/client.py +0 -0
  31. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/customer/raw_client.py +0 -0
  32. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/documents/__init__.py +0 -0
  33. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/documents/raw_client.py +0 -0
  34. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/environment.py +0 -0
  35. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/errors/__init__.py +0 -0
  36. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/errors/bad_request_error.py +0 -0
  37. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/errors/unauthorized_error.py +0 -0
  38. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/groups/__init__.py +0 -0
  39. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/groups/raw_client.py +0 -0
  40. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/health/__init__.py +0 -0
  41. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/health/client.py +0 -0
  42. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/health/raw_client.py +0 -0
  43. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/ingest.py +0 -0
  44. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/py.typed +0 -0
  45. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/search/__init__.py +0 -0
  46. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/search/raw_client.py +0 -0
  47. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/search/types/__init__.py +0 -0
  48. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/search/types/search_content_request_id.py +0 -0
  49. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/__init__.py +0 -0
  50. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bounding_box_detail.py +0 -0
  51. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bucket_detail.py +0 -0
  52. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bucket_list_response.py +0 -0
  53. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bucket_response.py +0 -0
  54. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bucket_update_detail.py +0 -0
  55. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/bucket_update_response.py +0 -0
  56. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/customer_detail.py +0 -0
  57. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/customer_response.py +0 -0
  58. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document.py +0 -0
  59. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_list_response.py +0 -0
  60. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_local_ingest_request.py +0 -0
  61. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_lookup_response.py +0 -0
  62. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_response.py +0 -0
  63. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/document_type.py +0 -0
  64. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/group_detail.py +0 -0
  65. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/group_list_response.py +0 -0
  66. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/group_response.py +0 -0
  67. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/health_response.py +0 -0
  68. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/health_response_health.py +0 -0
  69. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/health_service.py +0 -0
  70. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/health_service_status.py +0 -0
  71. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_local_document.py +0 -0
  72. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_local_document_metadata.py +0 -0
  73. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_remote_document.py +0 -0
  74. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_response.py +0 -0
  75. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status.py +0 -0
  76. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_light.py +0 -0
  77. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_progress.py +0 -0
  78. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_progress_cancelled.py +0 -0
  79. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_progress_complete.py +0 -0
  80. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_progress_errors.py +0 -0
  81. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/ingest_status_progress_processing.py +0 -0
  82. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/message_response.py +0 -0
  83. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/meter_detail.py +0 -0
  84. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/process_level.py +0 -0
  85. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/processes_status_response.py +0 -0
  86. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/processing_status.py +0 -0
  87. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/search_response.py +0 -0
  88. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/search_response_search.py +0 -0
  89. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/search_result_item.py +0 -0
  90. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/search_result_item_pages_item.py +0 -0
  91. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/sort.py +0 -0
  92. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/sort_order.py +0 -0
  93. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/subscription_detail.py +0 -0
  94. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/subscription_detail_meters.py +0 -0
  95. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/types/website_source.py +0 -0
  96. {groundx-2.4.0 → groundx-2.4.1}/src/groundx/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: groundx
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -3,7 +3,7 @@ name = "groundx"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "groundx"
6
- version = "2.4.0"
6
+ version = "2.4.1"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -62,7 +62,10 @@ class BucketsClient:
62
62
  client = GroundX(
63
63
  api_key="YOUR_API_KEY",
64
64
  )
65
- client.buckets.list()
65
+ client.buckets.list(
66
+ n=1,
67
+ next_token="nextToken",
68
+ )
66
69
  """
67
70
  _response = self._raw_client.list(n=n, next_token=next_token, request_options=request_options)
68
71
  return _response.data
@@ -250,7 +253,10 @@ class AsyncBucketsClient:
250
253
 
251
254
 
252
255
  async def main() -> None:
253
- await client.buckets.list()
256
+ await client.buckets.list(
257
+ n=1,
258
+ next_token="nextToken",
259
+ )
254
260
 
255
261
 
256
262
  asyncio.run(main())
@@ -14,10 +14,10 @@ class BaseClientWrapper:
14
14
 
15
15
  def get_headers(self) -> typing.Dict[str, str]:
16
16
  headers: typing.Dict[str, str] = {
17
- "User-Agent": "groundx/2.4.0",
17
+ "User-Agent": "groundx/2.4.1",
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "groundx",
20
- "X-Fern-SDK-Version": "2.4.0",
20
+ "X-Fern-SDK-Version": "2.4.1",
21
21
  }
22
22
  headers["X-API-Key"] = self.api_key
23
23
  return headers
@@ -240,7 +240,14 @@ class DocumentsClient:
240
240
  client = GroundX(
241
241
  api_key="YOUR_API_KEY",
242
242
  )
243
- client.documents.list()
243
+ client.documents.list(
244
+ n=1,
245
+ filter="filter",
246
+ sort="name",
247
+ sort_order="asc",
248
+ status="queued",
249
+ next_token="nextToken",
250
+ )
244
251
  """
245
252
  _response = self._raw_client.list(
246
253
  n=n,
@@ -377,6 +384,12 @@ class DocumentsClient:
377
384
  )
378
385
  client.documents.lookup(
379
386
  id=1,
387
+ n=1,
388
+ filter="filter",
389
+ sort="name",
390
+ sort_order="asc",
391
+ status="queued",
392
+ next_token="nextToken",
380
393
  )
381
394
  """
382
395
  _response = self._raw_client.lookup(
@@ -488,7 +501,10 @@ class DocumentsClient:
488
501
  client = GroundX(
489
502
  api_key="YOUR_API_KEY",
490
503
  )
491
- client.documents.get_processes()
504
+ client.documents.get_processes(
505
+ n=1,
506
+ status="queued",
507
+ )
492
508
  """
493
509
  _response = self._raw_client.get_processes(n=n, status=status, request_options=request_options)
494
510
  return _response.data
@@ -746,7 +762,14 @@ class AsyncDocumentsClient:
746
762
 
747
763
 
748
764
  async def main() -> None:
749
- await client.documents.list()
765
+ await client.documents.list(
766
+ n=1,
767
+ filter="filter",
768
+ sort="name",
769
+ sort_order="asc",
770
+ status="queued",
771
+ next_token="nextToken",
772
+ )
750
773
 
751
774
 
752
775
  asyncio.run(main())
@@ -907,6 +930,12 @@ class AsyncDocumentsClient:
907
930
  async def main() -> None:
908
931
  await client.documents.lookup(
909
932
  id=1,
933
+ n=1,
934
+ filter="filter",
935
+ sort="name",
936
+ sort_order="asc",
937
+ status="queued",
938
+ next_token="nextToken",
910
939
  )
911
940
 
912
941
 
@@ -1044,7 +1073,10 @@ class AsyncDocumentsClient:
1044
1073
 
1045
1074
 
1046
1075
  async def main() -> None:
1047
- await client.documents.get_processes()
1076
+ await client.documents.get_processes(
1077
+ n=1,
1078
+ status="queued",
1079
+ )
1048
1080
 
1049
1081
 
1050
1082
  asyncio.run(main())
@@ -61,7 +61,10 @@ class GroupsClient:
61
61
  client = GroundX(
62
62
  api_key="YOUR_API_KEY",
63
63
  )
64
- client.groups.list()
64
+ client.groups.list(
65
+ n=1,
66
+ next_token="nextToken",
67
+ )
65
68
  """
66
69
  _response = self._raw_client.list(n=n, next_token=next_token, request_options=request_options)
67
70
  return _response.data
@@ -333,7 +336,10 @@ class AsyncGroupsClient:
333
336
 
334
337
 
335
338
  async def main() -> None:
336
- await client.groups.list()
339
+ await client.groups.list(
340
+ n=1,
341
+ next_token="nextToken",
342
+ )
337
343
 
338
344
 
339
345
  asyncio.run(main())
@@ -83,7 +83,9 @@ class SearchClient:
83
83
  )
84
84
  client.search.content(
85
85
  id=1,
86
+ n=1,
86
87
  next_token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
88
+ verbosity=1,
87
89
  query="my search query",
88
90
  )
89
91
  """
@@ -154,7 +156,9 @@ class SearchClient:
154
156
  api_key="YOUR_API_KEY",
155
157
  )
156
158
  client.search.documents(
159
+ n=1,
157
160
  next_token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
161
+ verbosity=1,
158
162
  query="my search query",
159
163
  document_ids=["docUUID1", "docUUID2"],
160
164
  )
@@ -248,7 +252,9 @@ class AsyncSearchClient:
248
252
  async def main() -> None:
249
253
  await client.search.content(
250
254
  id=1,
255
+ n=1,
251
256
  next_token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
257
+ verbosity=1,
252
258
  query="my search query",
253
259
  )
254
260
 
@@ -327,7 +333,9 @@ class AsyncSearchClient:
327
333
 
328
334
  async def main() -> None:
329
335
  await client.search.documents(
336
+ n=1,
330
337
  next_token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
338
+ verbosity=1,
331
339
  query="my search query",
332
340
  document_ids=["docUUID1", "docUUID2"],
333
341
  )
@@ -50,6 +50,13 @@ class DocumentDetail(UniversalBaseModel):
50
50
 
51
51
  status: typing.Optional[ProcessingStatus] = None
52
52
  status_message: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="statusMessage")] = None
53
+ text_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="textUrl")] = pydantic.Field(
54
+ default=None
55
+ )
56
+ """
57
+ Extracted text URL, if using the extract agent
58
+ """
59
+
53
60
  xray_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="xrayUrl")] = pydantic.Field(
54
61
  default=None
55
62
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes