indexify 0.2.9__tar.gz → 0.2.10__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.
- {indexify-0.2.9 → indexify-0.2.10}/PKG-INFO +1 -1
- {indexify-0.2.9 → indexify-0.2.10}/indexify/http_client.py +6 -0
- {indexify-0.2.9 → indexify-0.2.10}/pyproject.toml +1 -1
- {indexify-0.2.9 → indexify-0.2.10}/LICENSE.txt +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/README.md +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/__init__.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/cli.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/data_loaders/__init__.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/data_loaders/local_directory_loader.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/data_loaders/url_loader.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/error.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/agent.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/api_objects.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/downloader.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/executor_tasks.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/function_worker.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/indexify_executor.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/runtime_probes.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/task_reporter.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/executor/task_store.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/data_objects.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/graph.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/graph_definition.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/graph_validation.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/image.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/indexify_functions.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/local_cache.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/functions_sdk/object_serializer.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/remote_graph.py +0 -0
- {indexify-0.2.9 → indexify-0.2.10}/indexify/settings.py +0 -0
@@ -253,8 +253,14 @@ class IndexifyClient:
|
|
253
253
|
for sse in event_source.iter_sse():
|
254
254
|
obj = json.loads(sse.data)
|
255
255
|
for k, v in obj.items():
|
256
|
+
if k == "id":
|
257
|
+
return v
|
256
258
|
if k == "InvocationFinished":
|
257
259
|
return v["id"]
|
260
|
+
if k == "DiagnosticMessage":
|
261
|
+
message = v.get("message", None)
|
262
|
+
print(f"[bold red]scheduler diagnostic: [/bold red]{message}")
|
263
|
+
continue
|
258
264
|
event_payload = InvocationEventPayload.model_validate(v)
|
259
265
|
event = InvocationEvent(event_name=k, payload=event_payload)
|
260
266
|
if (
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|