indexify 0.2.9__py3-none-any.whl → 0.2.10__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.
indexify/http_client.py CHANGED
@@ -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 (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: indexify
3
- Version: 0.2.9
3
+ Version: 0.2.10
4
4
  Summary: Python Client for Indexify
5
5
  Home-page: https://github.com/tensorlakeai/indexify
6
6
  License: Apache 2.0
@@ -21,11 +21,11 @@ indexify/functions_sdk/image.py,sha256=RcFhVjmQv83S2wuf7Yn9RMhdpT-WfRqr1-krCF5Uj
21
21
  indexify/functions_sdk/indexify_functions.py,sha256=oUssAADTt3byhz3Azl_GiYxV1BmhwuGE1CjmN-oiBpg,9575
22
22
  indexify/functions_sdk/local_cache.py,sha256=cNWF67zbhbTJe3g86hyLBy3Rqzs6dNvp2SjLazGZWvw,1348
23
23
  indexify/functions_sdk/object_serializer.py,sha256=Zz4GobW3ZamBBtFDF76QxU3TP6oJNdWnhsfKd0OUFoc,1660
24
- indexify/http_client.py,sha256=jDKiQJ1w-sRK_Nbo_2PGhTEa5wygZMlSFwpGhmohUMM,13218
24
+ indexify/http_client.py,sha256=HMhNASth9B-sPdxo69v7kRVcqoCfU3ounur3Gxb37uk,13535
25
25
  indexify/remote_graph.py,sha256=Qy_mxyC00N4zBOV-ibuTak8ht2GlMck3nh0syq0VqOE,3165
26
26
  indexify/settings.py,sha256=LSaWZ0ADIVmUv6o6dHWRC3-Ry5uLbCw2sBSg1e_U7UM,99
27
- indexify-0.2.9.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
28
- indexify-0.2.9.dist-info/METADATA,sha256=IBH71y72jlO-Q67Qgi6lBQNqaC6PBZofuJt7oMOjlPM,6129
29
- indexify-0.2.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
- indexify-0.2.9.dist-info/entry_points.txt,sha256=Pih7WV-XMpAzI5dEvROcpLr-ybVhd9Y-AtuzBKUdcDs,49
31
- indexify-0.2.9.dist-info/RECORD,,
27
+ indexify-0.2.10.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
28
+ indexify-0.2.10.dist-info/METADATA,sha256=zfFaEEl3NCpcX0lidfSePRdLIixeaefwfseOqIFfxlw,6130
29
+ indexify-0.2.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
+ indexify-0.2.10.dist-info/entry_points.txt,sha256=Pih7WV-XMpAzI5dEvROcpLr-ybVhd9Y-AtuzBKUdcDs,49
31
+ indexify-0.2.10.dist-info/RECORD,,