indexify 0.2.8__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.
@@ -27,7 +27,7 @@ class RuntimeProbes:
27
27
  if os.path.exists(file_path):
28
28
  with open(file_path, "r") as file:
29
29
  return file.read().strip()
30
- return "indexify-executor-default"
30
+ return "tensorlake/indexify-executor-default"
31
31
 
32
32
  def _get_python_version(self) -> Tuple[int, int]:
33
33
  version_info = sys.version_info
@@ -27,7 +27,7 @@ class Image:
27
27
 
28
28
  DEFAULT_IMAGE = (
29
29
  Image()
30
- .name("indexify-executor-default")
30
+ .name("tensorlake/indexify-executor-default")
31
31
  .base_image("python:3.10.15-slim-bookworm")
32
32
  .tag("latest")
33
33
  .run("pip install indexify")
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.8
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
@@ -10,22 +10,22 @@ indexify/executor/downloader.py,sha256=0MPiKw0AWs3Z7ReC9l2z-3515yqq85ghPzdh485dn
10
10
  indexify/executor/executor_tasks.py,sha256=gAZ2pvza1YwGlaR1o_tJW4SXtdCgK7sLJgp4W7rOjR0,1834
11
11
  indexify/executor/function_worker.py,sha256=QafSvTiniiQUHIMbSRYcEpmFuy7--Cgk3s0ISCViggE,5372
12
12
  indexify/executor/indexify_executor.py,sha256=2Ut_VX-Su_lm4b4aEROyRJ3gXx-uFHA-V7EN0sWiARE,771
13
- indexify/executor/runtime_probes.py,sha256=tvi8KCaQTVJqcyBJ4-jzEUAnQ01ZbMmjCxV2KJ96_PI,1449
13
+ indexify/executor/runtime_probes.py,sha256=L-nB4D2zBZ287xxPwErv5R_gxFOmTEvg61FMe3rUB_A,1460
14
14
  indexify/executor/task_reporter.py,sha256=gnnse0v6rjjni8lNzeb-ZYq6iF2DgafKoT7dcGUZhQ4,3716
15
15
  indexify/executor/task_store.py,sha256=q8s2gImsFffWeXQR0mk1Xlo1Aj_2GfclNPjQ2EA_YBo,3984
16
16
  indexify/functions_sdk/data_objects.py,sha256=CQZMzYiV7l6dyzFkYquWQHqdte6JnC7XA3i2ZyvPvgQ,844
17
17
  indexify/functions_sdk/graph.py,sha256=2KyEggNTzB56PKnuKcO4g5lOl_XVzuVb7gfQKituDUc,11633
18
18
  indexify/functions_sdk/graph_definition.py,sha256=EJfC0MdKEbFF1CBaU0htrveSlcAQJCH96DLSNfZ02V4,1178
19
19
  indexify/functions_sdk/graph_validation.py,sha256=XLHiC9PAtZungJLysU3hIUOPNDkO5TXUDZ_jiZ0H4hg,2508
20
- indexify/functions_sdk/image.py,sha256=X6nFgw6IKRfnxwjxKmZGkuzX6G4jG9YpPmz5FbsT39g,705
20
+ indexify/functions_sdk/image.py,sha256=RcFhVjmQv83S2wuf7Yn9RMhdpT-WfRqr1-krCF5UjNM,716
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.8.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
28
- indexify-0.2.8.dist-info/METADATA,sha256=XLD6BP6frVit-ir54ndR9WuWrdt-IamMh0K1pKGE4no,6129
29
- indexify-0.2.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
- indexify-0.2.8.dist-info/entry_points.txt,sha256=Pih7WV-XMpAzI5dEvROcpLr-ybVhd9Y-AtuzBKUdcDs,49
31
- indexify-0.2.8.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,,