kodexa 7.0.9596368033__py3-none-any.whl → 7.0.9705933440__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 +34 -0
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9705933440.dist-info}/METADATA +1 -1
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9705933440.dist-info}/RECORD +5 -5
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9705933440.dist-info}/LICENSE +0 -0
- {kodexa-7.0.9596368033.dist-info → kodexa-7.0.9705933440.dist-info}/WHEEL +0 -0
kodexa/model/objects.py
CHANGED
@@ -5072,6 +5072,13 @@ class ModelContentMetadata(BaseModel):
|
|
5072
5072
|
alias="additionalTaxonOptions",
|
5073
5073
|
description="This are additional properties that can be set on a label when the model is part of the project",
|
5074
5074
|
)
|
5075
|
+
|
5076
|
+
taxon_features: Optional[TaxonFeatures] = Field(
|
5077
|
+
None,
|
5078
|
+
alias="taxonFeatures",
|
5079
|
+
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",
|
5080
|
+
)
|
5081
|
+
|
5075
5082
|
contents: Optional[List[str]] = Field(
|
5076
5083
|
None,
|
5077
5084
|
description="A list of the paths (with wildcards) that hold the content of this model",
|
@@ -5102,6 +5109,28 @@ class Action(ExtensionPackProvided):
|
|
5102
5109
|
metadata: Optional[ObjectMetadata] = None
|
5103
5110
|
|
5104
5111
|
|
5112
|
+
class TaxonFeatures(BaseModel):
|
5113
|
+
"""
|
5114
|
+
|
5115
|
+
"""
|
5116
|
+
model_config = ConfigDict(
|
5117
|
+
populate_by_name=True,
|
5118
|
+
use_enum_values=True,
|
5119
|
+
arbitrary_types_allowed=True,
|
5120
|
+
protected_namespaces=("model_config",),
|
5121
|
+
)
|
5122
|
+
"""
|
5123
|
+
A Custom Event allows you to define an subtype of assistant event with options
|
5124
|
+
"""
|
5125
|
+
|
5126
|
+
taxonPath: Optional[str] = Field(
|
5127
|
+
None, description="The path of the taxon to add the features to", pattern=r"^[a-zA-Z0-9\-_]{0,40}$"
|
5128
|
+
)
|
5129
|
+
options: Optional[List[Option]] = Field(
|
5130
|
+
None, description="The options to add as type features to the taxon"
|
5131
|
+
)
|
5132
|
+
|
5133
|
+
|
5105
5134
|
class AssistantDefinition(ExtensionPackProvided):
|
5106
5135
|
"""
|
5107
5136
|
|
@@ -5137,6 +5166,11 @@ class AssistantDefinition(ExtensionPackProvided):
|
|
5137
5166
|
alias="additionalTaxonOptions",
|
5138
5167
|
description="This are additional properties that can be set on a label when the assistant is part of the project",
|
5139
5168
|
)
|
5169
|
+
taxon_features: Optional[TaxonFeatures] = Field(
|
5170
|
+
None,
|
5171
|
+
alias="taxonFeatures",
|
5172
|
+
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",
|
5173
|
+
)
|
5140
5174
|
event_types: Optional[List[CustomEvent]] = Field(
|
5141
5175
|
None,
|
5142
5176
|
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=GbYdM_6-sDvCIGL1ASylwKbE0jhjRyBM1tTgpXzruE8,175615
|
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.9705933440.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
42
|
+
kodexa-7.0.9705933440.dist-info/METADATA,sha256=tX9L8jWgUl0mS-wlCGDp76noICMbnLNDyUjPAfwBQxw,3486
|
43
|
+
kodexa-7.0.9705933440.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
44
|
+
kodexa-7.0.9705933440.dist-info/RECORD,,
|
File without changes
|
File without changes
|