kodexa 7.4.416648957029__tar.gz → 7.4.416789395760__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.
Files changed (51) hide show
  1. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/PKG-INFO +1 -1
  2. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/platform/client.py +6 -4
  3. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/pyproject.toml +1 -1
  4. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/LICENSE +0 -0
  5. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/README.md +0 -0
  6. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/__init__.py +0 -0
  7. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/assistant/__init__.py +0 -0
  8. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/assistant/assistant.py +0 -0
  9. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/connectors/__init__.py +0 -0
  10. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/connectors/connectors.py +0 -0
  11. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/dataclasses/__init__.py +0 -0
  12. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/dataclasses/templates/llm_data_class.j2 +0 -0
  13. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/__init__.py +0 -0
  14. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/base.py +0 -0
  15. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/entities/__init__.py +0 -0
  16. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/entities/check_response.py +0 -0
  17. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/entities/product.py +0 -0
  18. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/entities/product_group.py +0 -0
  19. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/entities/product_subscription.py +0 -0
  20. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/model.py +0 -0
  21. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/objects.py +0 -0
  22. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/persistence.py +0 -0
  23. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/model/utils.py +0 -0
  24. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/pipeline/__init__.py +0 -0
  25. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/pipeline/pipeline.py +0 -0
  26. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/platform/__init__.py +0 -0
  27. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/platform/interaction.py +0 -0
  28. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/platform/kodexa.py +0 -0
  29. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/platform/manifest.py +0 -0
  30. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/__init__.py +0 -0
  31. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/ast.py +0 -0
  32. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/core.py +0 -0
  33. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/lexrules.py +0 -0
  34. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/lextab.py +0 -0
  35. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/lextab.pyi +0 -0
  36. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/parserules.py +0 -0
  37. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/parserules.pyi +0 -0
  38. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/parsetab.py +0 -0
  39. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/selectors/parsetab.pyi +0 -0
  40. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/spatial/__init__.py +0 -0
  41. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/spatial/azure_models.py +0 -0
  42. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/spatial/bbox_common.py +0 -0
  43. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/spatial/table_form_common.py +0 -0
  44. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/steps/__init__.py +0 -0
  45. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/steps/common.py +0 -0
  46. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/testing/__init__.py +0 -0
  47. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/testing/test_components.py +0 -0
  48. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/testing/test_utils.py +0 -0
  49. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/training/__init__.py +0 -0
  50. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/training/train_utils.py +0 -0
  51. {kodexa-7.4.416648957029 → kodexa-7.4.416789395760}/kodexa/utils/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kodexa
3
- Version: 7.4.416648957029
3
+ Version: 7.4.416789395760
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -5934,7 +5934,7 @@ class DocumentStoreEndpoint(StoreEndpoint):
5934
5934
  get_response.json()
5935
5935
  ).set_client(self.client)
5936
5936
 
5937
- def stream_filter(self, filter_string: str = "", sort=None, limit=None, page_size=5):
5937
+ def stream_filter(self, filter_string: str = "", sort=None, limit=None, page_size=5, starting_offset: int = 0):
5938
5938
  """
5939
5939
  Stream the filter for the document family.
5940
5940
 
@@ -5943,11 +5943,12 @@ class DocumentStoreEndpoint(StoreEndpoint):
5943
5943
  sort (str, optional): Sorting order of the query. Defaults to None.
5944
5944
  limit (int, optional): The maximum number of items to return. Defaults to None.
5945
5945
  page_size (int, optional): The pagination size for the streaming
5946
+ starting_offset (int, optional): The starting offset for the streaming
5946
5947
 
5947
5948
  Returns:
5948
5949
  generator: A generator of the document families.
5949
5950
  """
5950
- page = 1
5951
+ page = starting_offset // page_size + 1
5951
5952
  count = 0
5952
5953
  if not sort:
5953
5954
  sort = "id"
@@ -5968,7 +5969,7 @@ class DocumentStoreEndpoint(StoreEndpoint):
5968
5969
  page += 1
5969
5970
 
5970
5971
  def filter(
5971
- self, filter_string: str = "", page: int = 1, page_size: int = 100, sort=None
5972
+ self, filter_string: str = "", page: int = 1, page_size: int = 100, sort=None, starting_offset: int = 0
5972
5973
  ) -> PageDocumentFamilyEndpoint:
5973
5974
  """
5974
5975
  Filter the document family.
@@ -5978,10 +5979,11 @@ class DocumentStoreEndpoint(StoreEndpoint):
5978
5979
  page (int, optional): The page number to get. Defaults to 1.
5979
5980
  page_size (int, optional): The number of items per page. Defaults to 100.
5980
5981
  sort (str, optional): Sorting order of the query. Defaults to None.
5981
-
5982
+ starting_offset (int, optional): The starting offset for the filter (offset is 0-indexed, and over-rides the page parameter)
5982
5983
  Returns:
5983
5984
  PageDocumentFamilyEndpoint: The page of document families.
5984
5985
  """
5986
+ page = starting_offset // page_size + 1
5985
5987
  params = {"page": page, "pageSize": page_size, "filter": filter_string}
5986
5988
 
5987
5989
  if sort is not None:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kodexa"
3
- version = "7.4.416648957029"
3
+ version = "7.4.416789395760"
4
4
  description = "Python SDK for the Kodexa Platform"
5
5
  authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
6
6
  readme = "README.md"