kodexa 7.0.8316723363__py3-none-any.whl → 7.0.8323948151__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/model.py +0 -11
- kodexa/model/objects.py +4 -1
- {kodexa-7.0.8316723363.dist-info → kodexa-7.0.8323948151.dist-info}/METADATA +1 -1
- {kodexa-7.0.8316723363.dist-info → kodexa-7.0.8323948151.dist-info}/RECORD +6 -6
- {kodexa-7.0.8316723363.dist-info → kodexa-7.0.8323948151.dist-info}/LICENSE +0 -0
- {kodexa-7.0.8316723363.dist-info → kodexa-7.0.8323948151.dist-info}/WHEEL +0 -0
kodexa/model/model.py
CHANGED
@@ -802,17 +802,6 @@ class ContentNode(object):
|
|
802
802
|
[ContentNode]
|
803
803
|
"""
|
804
804
|
|
805
|
-
# We have a few 'shortcuts' that help with performance
|
806
|
-
if selector == ".": # Return the current node
|
807
|
-
return [self]
|
808
|
-
# if the select is something like //line there line is a node type
|
809
|
-
# then skip the parser and use get_nodes_by_type
|
810
|
-
|
811
|
-
# Note we can only do this for certain types since the idx for nested types
|
812
|
-
# will be a problem
|
813
|
-
if self._parent_uuid is None and re.match(r"^//\w+$", selector) and selector[2:] in ['line', 'page', 'content-area', 'word']:
|
814
|
-
return self.document.get_persistence().get_nodes_by_type(selector[2:])
|
815
|
-
|
816
805
|
if variables is None:
|
817
806
|
variables = {}
|
818
807
|
from kodexa.selectors import parse
|
kodexa/model/objects.py
CHANGED
@@ -2470,6 +2470,8 @@ class ProjectAssistant(BaseModel):
|
|
2470
2470
|
logging_enabled: Optional[bool] = Field(None, alias="loggingEnabled")
|
2471
2471
|
show_in_training: Optional[bool] = Field(None, alias="showInTraining")
|
2472
2472
|
priority_hint: Optional[int] = Field(None, alias="priorityHint")
|
2473
|
+
chat_enabled: Optional[bool] = Field(None, alias="chatEnabled")
|
2474
|
+
assistant_role: Optional[str] = Field(None, alias="assistantRole")
|
2473
2475
|
|
2474
2476
|
|
2475
2477
|
class Taxon(BaseModel):
|
@@ -4024,7 +4026,8 @@ class Assistant(BaseModel):
|
|
4024
4026
|
show_in_training: Optional[bool] = Field(None, alias="showInTraining")
|
4025
4027
|
color: Optional[str] = Field(None, description="The color to use for the assistant")
|
4026
4028
|
priority_hint: Optional[int] = Field(None, alias="priorityHint")
|
4027
|
-
|
4029
|
+
chat_enabled: Optional[bool] = Field(None, alias="chatEnabled")
|
4030
|
+
assistant_role: Optional[str] = Field(None, alias="assistantRole")
|
4028
4031
|
|
4029
4032
|
class AssistantExecution(BaseModel):
|
4030
4033
|
"""
|
@@ -5,8 +5,8 @@ kodexa/connectors/__init__.py,sha256=WF6G_MUeU32TlKSUKkpNoNX7dq8iBPliFMep4E8BmZc
|
|
5
5
|
kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7THbc,10413
|
6
6
|
kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
|
7
7
|
kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
|
8
|
-
kodexa/model/model.py,sha256=
|
9
|
-
kodexa/model/objects.py,sha256=
|
8
|
+
kodexa/model/model.py,sha256=q7NkVAM9RsVP5I8ucNPo3iEzpTEkPC5tiuswUFiAKjY,115472
|
9
|
+
kodexa/model/objects.py,sha256=fljlPCl5uvAuLpCq-UOHHbcEGEi6RYZiK-vpVO1XIZU,173731
|
10
10
|
kodexa/model/persistence.py,sha256=XiVGKf6PnqKscO9KzZegED-xvuphrFc9IZ7rWCiUa9I,61841
|
11
11
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
12
12
|
kodexa/pipeline/pipeline.py,sha256=AdaHbB8bts-CnkV2xViB5gyPPxnVUiZCHWB0Oe6rBhU,25101
|
@@ -35,7 +35,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
|
|
35
35
|
kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
|
36
36
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
37
37
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
|
-
kodexa-7.0.
|
39
|
-
kodexa-7.0.
|
40
|
-
kodexa-7.0.
|
41
|
-
kodexa-7.0.
|
38
|
+
kodexa-7.0.8323948151.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
39
|
+
kodexa-7.0.8323948151.dist-info/METADATA,sha256=qroShTDdCDDFvmF7VuxsObqAzlBqkeOnaQIitcqpsJE,3493
|
40
|
+
kodexa-7.0.8323948151.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
41
|
+
kodexa-7.0.8323948151.dist-info/RECORD,,
|
File without changes
|
File without changes
|