indexify 0.0.33__py3-none-any.whl → 0.0.35__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/client.py CHANGED
@@ -400,7 +400,7 @@ class IndexifyClient:
400
400
  - content_id (str): content id to query
401
401
  """
402
402
  response = self.get(f"namespaces/{self.namespace}/content/{content_id}/metadata")
403
- return response.json()
403
+ return response.json()["content_metadata"]
404
404
 
405
405
  def download_content(self, content_id: str) -> bytes:
406
406
  """
@@ -554,7 +554,7 @@ class IndexifyClient:
554
554
  - start_index (str): start index for pagination
555
555
  - limit (int): number of items to return
556
556
  """
557
- params = {"graph": extraction_graph, "start_id": start_id, "limit": limit}
557
+ params = {"start_id": start_id, "limit": limit}
558
558
  if extraction_policy:
559
559
  params["source"] = extraction_policy
560
560
  else:
@@ -562,7 +562,7 @@ class IndexifyClient:
562
562
  if len(labels_filter) > 0:
563
563
  params["labels_filter"] = labels_filter
564
564
  response = self.get(
565
- f"namespaces/{self.namespace}/content",
565
+ f"namespaces/{self.namespace}/extraction_graphs/{extraction_graph}/content",
566
566
  params=params,
567
567
  )
568
568
  content_list = response.json()["content_list"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: indexify
3
- Version: 0.0.33
3
+ Version: 0.0.35
4
4
  Summary: Python Client for Indexify
5
5
  Home-page: https://github.com/tensorlakeai/indexify
6
6
  License: Apache 2.0
@@ -1,5 +1,5 @@
1
1
  indexify/__init__.py,sha256=xqymbwqaiHiWXFpm7Cll2j-_V1lNQH2EEGlevtCTZK4,525
2
- indexify/client.py,sha256=J6ATvToclPPFW7B5ajhLNpUbNnJAc3elV7AjP3D1-4k,24662
2
+ indexify/client.py,sha256=WLnwUtvdJ17bEG7T2k_jxMOEDlTQwySwSXsLvV_FnSE,24692
3
3
  indexify/data_containers.py,sha256=fIX_rghpojrCUtmZ0grywoq_HWniDgN1mnR7yXDej-Y,874
4
4
  indexify/error.py,sha256=3umTeYb0ugtUyehV1ibfvaeACxAONPyWPc-1HRN4d1M,856
5
5
  indexify/exceptions.py,sha256=vjd5SPPNFIEW35GorSIodsqvm9RKHQm9kdp8t9gv-WM,111
@@ -8,7 +8,7 @@ indexify/extractor.py,sha256=sWFLlXHgEfWlmiKAXN6ytUt_uG7th-XGNHqz-TG39gs,1216
8
8
  indexify/index.py,sha256=RvxYhJXEth-GKvqzlMiz5PuN1eIbZk84pt20piA1Gsw,504
9
9
  indexify/settings.py,sha256=LSaWZ0ADIVmUv6o6dHWRC3-Ry5uLbCw2sBSg1e_U7UM,99
10
10
  indexify/utils.py,sha256=rDN2lrsAs9noJEIjfx6ukmC2SAIyrlUt7QU-kaBjujM,125
11
- indexify-0.0.33.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
- indexify-0.0.33.dist-info/METADATA,sha256=e255wnhg1DSGcyj8XrX9N8JLeKv093XDYQRMaC3xpZU,1854
13
- indexify-0.0.33.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
- indexify-0.0.33.dist-info/RECORD,,
11
+ indexify-0.0.35.dist-info/LICENSE.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
+ indexify-0.0.35.dist-info/METADATA,sha256=5dk9KT6S-pNHOQwAgYDaxWv2XRyf_8NtaQQXUzpS5HE,1854
13
+ indexify-0.0.35.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
+ indexify-0.0.35.dist-info/RECORD,,