kodexa 7.0.9596368033__py3-none-any.whl → 7.0.9701907009__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.
- kodexa/model/objects.py +27 -0
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9701907009.dist-info}/METADATA +1 -1
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9701907009.dist-info}/RECORD +5 -5
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9701907009.dist-info}/LICENSE +0 -0
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9701907009.dist-info}/WHEEL +0 -0
kodexa/model/objects.py
CHANGED
@@ -5102,6 +5102,28 @@ class Action(ExtensionPackProvided):
|
|
5102
5102
|
metadata: Optional[ObjectMetadata] = None
|
5103
5103
|
|
5104
5104
|
|
5105
|
+
class TaxonFeatures(BaseModel):
|
5106
|
+
"""
|
5107
|
+
|
5108
|
+
"""
|
5109
|
+
model_config = ConfigDict(
|
5110
|
+
populate_by_name=True,
|
5111
|
+
use_enum_values=True,
|
5112
|
+
arbitrary_types_allowed=True,
|
5113
|
+
protected_namespaces=("model_config",),
|
5114
|
+
)
|
5115
|
+
"""
|
5116
|
+
A Custom Event allows you to define an subtype of assistant event with options
|
5117
|
+
"""
|
5118
|
+
|
5119
|
+
taxonPath: Optional[str] = Field(
|
5120
|
+
None, description="The path of the taxon to add the features to", pattern=r"^[a-zA-Z0-9\-_]{0,40}$"
|
5121
|
+
)
|
5122
|
+
options: Optional[List[Option]] = Field(
|
5123
|
+
None, description="The options to add as type features to the taxon"
|
5124
|
+
)
|
5125
|
+
|
5126
|
+
|
5105
5127
|
class AssistantDefinition(ExtensionPackProvided):
|
5106
5128
|
"""
|
5107
5129
|
|
@@ -5137,6 +5159,11 @@ class AssistantDefinition(ExtensionPackProvided):
|
|
5137
5159
|
alias="additionalTaxonOptions",
|
5138
5160
|
description="This are additional properties that can be set on a label when the assistant is part of the project",
|
5139
5161
|
)
|
5162
|
+
taxon_features: Optional[TaxonFeatures] = Field(
|
5163
|
+
None,
|
5164
|
+
alias="taxonFeatures",
|
5165
|
+
description="This are additional properties that can be set as part of the taxon in the taxonomy (not a label but at the taxon level) they will be stored under the type_features",
|
5166
|
+
)
|
5140
5167
|
event_types: Optional[List[CustomEvent]] = Field(
|
5141
5168
|
None,
|
5142
5169
|
alias="eventTypes",
|
@@ -9,7 +9,7 @@ kodexa/model/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
9
9
|
kodexa/model/entities/product.py,sha256=ZDpHuBE_9FJ-klnkyBvTfPwYOqBkM1wraZMtHqNA8FQ,3526
|
10
10
|
kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
|
11
11
|
kodexa/model/model.py,sha256=BURhrOEVTTlKkDJho5CEFeLR9Dyq157mztlvbAdL1d4,115769
|
12
|
-
kodexa/model/objects.py,sha256=
|
12
|
+
kodexa/model/objects.py,sha256=ZrYyhzoDdbqqALAi70iTbx6qVSaAzoMwbMdQB7AUniU,175321
|
13
13
|
kodexa/model/persistence.py,sha256=sx5FwTSsWMdAZpAs0-6PqyULHkQyNQClApUKJZ-ly8M,62032
|
14
14
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
15
15
|
kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
|
@@ -38,7 +38,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
|
|
38
38
|
kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
|
39
39
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
40
40
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
41
|
-
kodexa-7.0.
|
42
|
-
kodexa-7.0.
|
43
|
-
kodexa-7.0.
|
44
|
-
kodexa-7.0.
|
41
|
+
kodexa-7.0.9701907009.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
42
|
+
kodexa-7.0.9701907009.dist-info/METADATA,sha256=C2jAYYDip5HyqEeuehs2DYhn973YcPkFmFu3liIHgnI,3486
|
43
|
+
kodexa-7.0.9701907009.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
44
|
+
kodexa-7.0.9701907009.dist-info/RECORD,,
|
File without changes
|
File without changes
|