kodexa 6.3.36843535894__tar.gz → 6.3.36854280140__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.
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/PKG-INFO +1 -1
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/model/objects.py +1 -1
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/platform/client.py +10 -2
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/pyproject.toml +1 -1
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/LICENSE +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/README.md +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/assistant/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/assistant/assistant.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/connectors/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/connectors/connectors.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/model/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/model/base.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/model/model.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/model/persistence.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/platform/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/platform/kodexa.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/ast.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/core.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/lextab.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/parserules.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/spatial/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/steps/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/steps/common.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/testing/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/testing/test_components.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/testing/test_utils.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/training/__init__.py +0 -0
- {kodexa-6.3.36843535894 → kodexa-6.3.36854280140}/kodexa/training/train_utils.py +0 -0
@@ -3288,7 +3288,7 @@ class Assistant(BaseModel):
|
|
3288
3288
|
definition: Optional[AssistantDefinition] = None
|
3289
3289
|
show_in_training: Optional[bool] = Field(None, alias="showInTraining")
|
3290
3290
|
color: Optional[str] = Field(None, description="The color to use for the assistant")
|
3291
|
-
|
3291
|
+
priority_hint: Optional[int] = Field(None, alias="priorityHint")
|
3292
3292
|
|
3293
3293
|
class AssistantExecution(BaseModel):
|
3294
3294
|
model_config = ConfigDict(
|
@@ -2558,19 +2558,21 @@ class ProjectsEndpoint(EntitiesEndpoint):
|
|
2558
2558
|
).set_client(self.client)
|
2559
2559
|
return None
|
2560
2560
|
|
2561
|
-
def stream_query(self, query: str = "*", sort=None):
|
2561
|
+
def stream_query(self, query: str = "*", sort=None, limit=None):
|
2562
2562
|
"""
|
2563
2563
|
Stream the query for the project endpoints.
|
2564
2564
|
|
2565
2565
|
Args:
|
2566
2566
|
query (str, optional): The query to run. Defaults to "*".
|
2567
2567
|
sort (str, optional): Sorting order of the query. Defaults to None.
|
2568
|
+
limit (int, optional): The maximum number of results to return. Defaults to None.
|
2568
2569
|
|
2569
2570
|
Yields:
|
2570
2571
|
ProjectEndpoint: A generator of the project endpoints.
|
2571
2572
|
"""
|
2572
2573
|
page_size = 5
|
2573
2574
|
page = 1
|
2575
|
+
counter = 0
|
2574
2576
|
|
2575
2577
|
if not sort:
|
2576
2578
|
sort = "id"
|
@@ -2583,6 +2585,9 @@ class ProjectsEndpoint(EntitiesEndpoint):
|
|
2583
2585
|
break
|
2584
2586
|
for project_endpoint in page_response.content:
|
2585
2587
|
yield project_endpoint
|
2588
|
+
counter += 1
|
2589
|
+
if limit and counter >= limit:
|
2590
|
+
break
|
2586
2591
|
page += 1
|
2587
2592
|
|
2588
2593
|
def query(
|
@@ -5044,7 +5049,7 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5044
5049
|
"""
|
5045
5050
|
page_size = 5
|
5046
5051
|
page = 1
|
5047
|
-
|
5052
|
+
count = 0
|
5048
5053
|
if not sort:
|
5049
5054
|
sort = "id"
|
5050
5055
|
|
@@ -5056,6 +5061,9 @@ class DocumentStoreEndpoint(StoreEndpoint):
|
|
5056
5061
|
break
|
5057
5062
|
for document_family in page_response.content:
|
5058
5063
|
yield document_family
|
5064
|
+
count += 1
|
5065
|
+
if limit and count >= limit:
|
5066
|
+
break
|
5059
5067
|
page += 1
|
5060
5068
|
|
5061
5069
|
def filter(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "6.3.
|
3
|
+
version = "6.3.36854280140"
|
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"
|
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
|
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
|