kodexa 6.3.36241696234__tar.gz → 6.3.36275611504__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.36241696234 → kodexa-6.3.36275611504}/PKG-INFO +1 -1
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/model/objects.py +11 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/platform/client.py +6 -3
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/pyproject.toml +1 -1
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/LICENSE +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/README.md +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/assistant/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/assistant/assistant.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/connectors/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/connectors/connectors.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/model/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/model/base.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/model/model.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/model/persistence.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/platform/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/platform/kodexa.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/ast.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/core.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/lextab.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/parserules.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/spatial/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/steps/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/steps/common.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/testing/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/testing/test_components.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/testing/test_utils.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/training/__init__.py +0 -0
- {kodexa-6.3.36241696234 → kodexa-6.3.36275611504}/kodexa/training/train_utils.py +0 -0
@@ -3988,6 +3988,12 @@ class ModelContentMetadata(BaseModel):
|
|
3988
3988
|
description="The inference options for this model",
|
3989
3989
|
)
|
3990
3990
|
|
3991
|
+
event_options: Optional[List[Option]] = Field(
|
3992
|
+
None,
|
3993
|
+
alias="eventOptions",
|
3994
|
+
description="The event options for this model",
|
3995
|
+
)
|
3996
|
+
|
3991
3997
|
taxonomy: Optional[Taxonomy] = None
|
3992
3998
|
additional_taxon_options: Optional[List[Option]] = Field(
|
3993
3999
|
None,
|
@@ -4146,6 +4152,11 @@ class ModelRuntime(ExtensionPackProvided):
|
|
4146
4152
|
alias="trainingAction",
|
4147
4153
|
description="A reference to the action that will be used for training",
|
4148
4154
|
)
|
4155
|
+
event_action: Optional[str] = Field(
|
4156
|
+
None,
|
4157
|
+
alias="actionEvent",
|
4158
|
+
description="A reference to the action that will be used for event handling",
|
4159
|
+
)
|
4149
4160
|
deployment_type: Optional[DeploymentType1] = Field(
|
4150
4161
|
None,
|
4151
4162
|
alias="deploymentType",
|
@@ -1780,12 +1780,14 @@ class AssistantEndpoint(Assistant, ClientEndpoint):
|
|
1780
1780
|
def activate(self):
|
1781
1781
|
"""Activate the assistant."""
|
1782
1782
|
url = f"/api/projects/{self.project.id}/assistants/{self.id}/activate"
|
1783
|
-
self.client.put(url)
|
1783
|
+
response = self.client.put(url)
|
1784
|
+
self.change_sequence = response.json().get("changeSequence")
|
1784
1785
|
|
1785
1786
|
def deactivate(self):
|
1786
1787
|
"""Deactivate the assistant."""
|
1787
1788
|
url = f"/api/projects/{self.project.id}/assistants/{self.id}/deactivate"
|
1788
|
-
self.client.put(url)
|
1789
|
+
response = self.client.put(url)
|
1790
|
+
self.change_sequence = response.json().get("changeSequence")
|
1789
1791
|
|
1790
1792
|
def schedule(self):
|
1791
1793
|
"""Schedule the assistant."""
|
@@ -1802,9 +1804,10 @@ class AssistantEndpoint(Assistant, ClientEndpoint):
|
|
1802
1804
|
AssistantEndpoint: The updated assistant endpoint.
|
1803
1805
|
"""
|
1804
1806
|
url = f"/api/projects/{self.project.id}/assistants/{self.id}/stores"
|
1805
|
-
self.client.put(
|
1807
|
+
response = self.client.put(
|
1806
1808
|
url, body=[store.model_dump(mode="json", by_alias=True) for store in stores]
|
1807
1809
|
)
|
1810
|
+
self.change_sequence = response.json().get("changeSequence")
|
1808
1811
|
return self
|
1809
1812
|
|
1810
1813
|
def get_stores(self) -> List["DocumentStoreEndpoint"]:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "6.3.
|
3
|
+
version = "6.3.36275611504"
|
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
|