groundx 2.7.3__tar.gz → 2.7.6__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.
- {groundx-2.7.3 → groundx-2.7.6}/PKG-INFO +1 -1
- {groundx-2.7.3 → groundx-2.7.6}/pyproject.toml +1 -1
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/client_wrapper.py +2 -2
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/groundx.py +12 -2
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/upload_s3.py +3 -0
- {groundx-2.7.3 → groundx-2.7.6}/LICENSE +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/README.md +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/buckets/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/buckets/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/buckets/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/api_error.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/datetime_utils.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/file.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/force_multipart.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/http_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/http_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/jsonable_encoder.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/pydantic_utilities.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/query_encoder.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/remove_none_from_dict.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/request_options.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/core/serialization.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/csv_splitter.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/customer/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/customer/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/customer/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/documents/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/documents/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/documents/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/environment.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/errors/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/errors/bad_request_error.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/errors/unauthorized_error.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/agents/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/agents/agent.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/agent.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/api.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/document.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/field.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/prompt.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/test_document.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/test_field.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/test_groundx.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/classes/test_prompt.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/post_process/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/post_process/post_process.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/.DS_Store +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/csv.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/logger.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/logging_cfg.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/ratelimit.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/sheets_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/status.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/upload.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/upload_minio.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/services/utility.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/settings/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/settings/settings.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/settings/test_settings.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/tasks/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/tasks/utility.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/utility/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/utility/classes.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/extract/utility/test_utility.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/groups/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/groups/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/groups/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/health/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/health/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/health/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/ingest.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/py.typed +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/search/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/search/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/search/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/search/types/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/search/types/search_content_request_id.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bounding_box_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bucket_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bucket_list_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bucket_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bucket_update_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/bucket_update_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/customer_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/customer_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_list_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_local_ingest_request.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_lookup_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/document_type.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/group_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/group_list_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/group_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/health_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/health_response_health.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/health_service.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/health_service_status.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_local_document.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_local_document_metadata.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_remote_document.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_light.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_progress.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_progress_cancelled.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_progress_complete.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_progress_errors.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/ingest_status_progress_processing.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/message_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/meter_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/process_level.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/processes_status_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/processing_status.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/search_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/search_response_search.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/search_result_item.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/search_result_item_pages_item.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/sort.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/sort_order.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/subscription_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/subscription_detail_meters.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/website_source.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_apply_request.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_detail.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_detail_chunk_strategy.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_detail_relationships.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_engine.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_engine_reasoning_effort.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_engine_service.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_prompt.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_prompt_group.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_prompt_role.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_request.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_request_chunk_strategy.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_step.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_step_config.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_step_config_field.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflow_steps.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/types/workflows_response.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/version.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/workflows/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/workflows/client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/workflows/raw_client.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/workflows/types/__init__.py +0 -0
- {groundx-2.7.3 → groundx-2.7.6}/src/groundx/workflows/types/workflows_get_request_id.py +0 -0
|
@@ -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.7.
|
|
17
|
+
"User-Agent": "groundx/2.7.6",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "groundx",
|
|
20
|
-
"X-Fern-SDK-Version": "2.7.
|
|
20
|
+
"X-Fern-SDK-Version": "2.7.6",
|
|
21
21
|
}
|
|
22
22
|
headers["X-API-Key"] = self.api_key
|
|
23
23
|
return headers
|
|
@@ -30,13 +30,17 @@ class GroundXDocument(BaseModel):
|
|
|
30
30
|
is_test: bool = False,
|
|
31
31
|
base: typing.Optional[str] = None,
|
|
32
32
|
) -> "XRayDocument":
|
|
33
|
+
if upload:
|
|
34
|
+
print("xray upload is not None")
|
|
35
|
+
else:
|
|
36
|
+
print("xray upload is None")
|
|
33
37
|
return XRayDocument.download(
|
|
34
38
|
self,
|
|
35
|
-
upload=upload,
|
|
36
39
|
cache_dir=cache_dir,
|
|
37
|
-
|
|
40
|
+
upload=upload,
|
|
38
41
|
clear_cache=clear_cache,
|
|
39
42
|
is_test=is_test,
|
|
43
|
+
base=base,
|
|
40
44
|
)
|
|
41
45
|
|
|
42
46
|
|
|
@@ -114,8 +118,10 @@ class XRayDocument(BaseModel):
|
|
|
114
118
|
)
|
|
115
119
|
|
|
116
120
|
if upload:
|
|
121
|
+
print("xray.download upload is not None")
|
|
117
122
|
path = gx_doc.xray_path()
|
|
118
123
|
ru = upload.get_object(path)
|
|
124
|
+
print(f"xray path [{path}]")
|
|
119
125
|
if ru:
|
|
120
126
|
try:
|
|
121
127
|
payload = json.loads(ru.decode("utf-8"))
|
|
@@ -124,6 +130,10 @@ class XRayDocument(BaseModel):
|
|
|
124
130
|
raise RuntimeError(
|
|
125
131
|
f"Error decoding X-ray JSON bytes from {path}: {e}"
|
|
126
132
|
)
|
|
133
|
+
else:
|
|
134
|
+
print("xray path ru is None")
|
|
135
|
+
else:
|
|
136
|
+
print("xray.download upload is None")
|
|
127
137
|
|
|
128
138
|
url = gx_doc.xray_url(base=base)
|
|
129
139
|
try:
|
|
@@ -25,6 +25,7 @@ class S3Client:
|
|
|
25
25
|
|
|
26
26
|
def get_object(self, url: str) -> typing.Optional[bytes]:
|
|
27
27
|
if not self.client:
|
|
28
|
+
print("get_object no client")
|
|
28
29
|
return None
|
|
29
30
|
|
|
30
31
|
try:
|
|
@@ -38,7 +39,9 @@ class S3Client:
|
|
|
38
39
|
if url.startswith("/"):
|
|
39
40
|
s3_key = url[1:]
|
|
40
41
|
|
|
42
|
+
print(f">>get_object [{s3_bucket}] [{s3_key}] [{url}]")
|
|
41
43
|
response = self.client.get_object(Bucket=s3_bucket, Key=s3_key)
|
|
44
|
+
print(f"response [{response}]")
|
|
42
45
|
|
|
43
46
|
return response["Body"].read()
|
|
44
47
|
except Exception as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|