kodexa 7.4.413348410500__tar.gz → 7.4.413375473422__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-7.4.413348410500 → kodexa-7.4.413375473422}/PKG-INFO +1 -1
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/platform/client.py +11 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/pyproject.toml +1 -1
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/LICENSE +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/README.md +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/dataclasses/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/dataclasses/templates/llm_data_class.j2 +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/base.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/check_response.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/product_group.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/product_subscription.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/model.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/objects.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/persistence.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/utils.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/core.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/steps/common.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/training/__init__.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/training/train_utils.py +0 -0
- {kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/utils/__init__.py +0 -0
@@ -1239,6 +1239,17 @@ class TasksEndpoint(EntitiesEndpoint):
|
|
1239
1239
|
def get_page_class(self, object_dict=None):
|
1240
1240
|
return PageTaskEndpoint
|
1241
1241
|
|
1242
|
+
def create_with_template(self, task: Task, task_template: Optional[TaskTemplate] = None, document_families: Optional[List[DocumentFamily]] = None) -> TaskEndpoint:
|
1243
|
+
"""Create a task with the given template."""
|
1244
|
+
url = "/api/tasks/createTaskWithRequest"
|
1245
|
+
create_body = {
|
1246
|
+
"task": task.model_dump(mode="json", by_alias=True),
|
1247
|
+
"taskTemplate": task_template.model_dump(mode="json", by_alias=True) if task_template else None,
|
1248
|
+
"documentFamilies": [df.model_dump(mode="json", by_alias=True) for df in document_families] if document_families else None
|
1249
|
+
}
|
1250
|
+
response = self.client.post(url, create_body)
|
1251
|
+
return TaskEndpoint.model_validate(response.json()).set_client(self.client)
|
1252
|
+
|
1242
1253
|
class TaskTemplateEndpoint(EntityEndpoint, TaskTemplate):
|
1243
1254
|
"""
|
1244
1255
|
Represents a task template endpoint.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.4.
|
3
|
+
version = "7.4.413375473422"
|
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
|
{kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/dataclasses/templates/llm_data_class.j2
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{kodexa-7.4.413348410500 → kodexa-7.4.413375473422}/kodexa/model/entities/product_subscription.py
RENAMED
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
|