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