kodexa 7.4.413902283427__py3-none-any.whl → 7.4.414071373139__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 +4 -3
- kodexa/platform/client.py +1 -1
- {kodexa-7.4.413902283427.dist-info → kodexa-7.4.414071373139.dist-info}/METADATA +1 -1
- {kodexa-7.4.413902283427.dist-info → kodexa-7.4.414071373139.dist-info}/RECORD +6 -6
- {kodexa-7.4.413902283427.dist-info → kodexa-7.4.414071373139.dist-info}/LICENSE +0 -0
- {kodexa-7.4.413902283427.dist-info → kodexa-7.4.414071373139.dist-info}/WHEEL +0 -0
kodexa/model/objects.py
CHANGED
@@ -3108,7 +3108,7 @@ class ProjectResource(BaseModel):
|
|
3108
3108
|
type: Optional[str] = None
|
3109
3109
|
name: Optional[str] = None
|
3110
3110
|
description: Optional[str] = None
|
3111
|
-
|
3111
|
+
should_copy: Optional[bool] = Field(False, alias="copy")
|
3112
3112
|
slug: Optional[str] = None
|
3113
3113
|
original_uri: Optional[str] = Field(None, alias="originalUri")
|
3114
3114
|
|
@@ -4063,7 +4063,7 @@ class CustomEvent(BaseModel):
|
|
4063
4063
|
None, description="The name of the event", pattern=r"^[a-zA-Z0-9\-_]{0,40}$"
|
4064
4064
|
)
|
4065
4065
|
icon: Optional[str] = Field(
|
4066
|
-
None, description="The name of
|
4066
|
+
None, description="The name of an icon to use for the event"
|
4067
4067
|
)
|
4068
4068
|
label: Optional[str] = Field(
|
4069
4069
|
None, description="The label to use on the event in the UI"
|
@@ -4690,6 +4690,7 @@ class AssistantExecution(BaseModel):
|
|
4690
4690
|
ScheduledEvent,
|
4691
4691
|
ChannelEvent,
|
4692
4692
|
WorkspaceEvent,
|
4693
|
+
TaskEvent,
|
4693
4694
|
]
|
4694
4695
|
] = None
|
4695
4696
|
response: Optional[AssistantExecutionResponse] = None
|
@@ -6312,6 +6313,7 @@ ContentEvent.model_rebuild()
|
|
6312
6313
|
DataObjectEvent.model_rebuild()
|
6313
6314
|
DocumentFamilyEvent.model_rebuild()
|
6314
6315
|
ScheduledEvent.model_rebuild()
|
6316
|
+
TaskEvent.model_rebuild()
|
6315
6317
|
DataException.model_rebuild()
|
6316
6318
|
Workspace.model_rebuild()
|
6317
6319
|
AssistantResponsePipeline.model_rebuild()
|
@@ -6320,4 +6322,3 @@ Message.model_rebuild()
|
|
6320
6322
|
MessageFeedback.model_rebuild()
|
6321
6323
|
MessageFeedbackResponse.model_rebuild()
|
6322
6324
|
MessageFeedbackOption.model_rebuild()
|
6323
|
-
|
kodexa/platform/client.py
CHANGED
@@ -1241,7 +1241,7 @@ class TaskEndpoint(EntityEndpoint, Task):
|
|
1241
1241
|
def update_status(self, status: TaskStatus):
|
1242
1242
|
"""Update the status of the task."""
|
1243
1243
|
url = f"/api/tasks/{self.id}/status"
|
1244
|
-
response = self.client.put(url, body=status)
|
1244
|
+
response = self.client.put(url, body=status.model_dump(mode="json", by_alias=True))
|
1245
1245
|
return TaskEndpoint.model_validate(response.json()).set_client(self.client)
|
1246
1246
|
|
1247
1247
|
def remove_status(self):
|
@@ -13,13 +13,13 @@ kodexa/model/entities/product.py,sha256=StUhTEeLXmc05cj6XnZppQfeJsqCPbX1jdhsysHH
|
|
13
13
|
kodexa/model/entities/product_group.py,sha256=540fRGyUf34h1BzAN1DiWu6rGgvaj3xDFhZ2k-RvSFY,3617
|
14
14
|
kodexa/model/entities/product_subscription.py,sha256=UcmWR-qgLfdV7VCtJNwzgkanoS8nBSL6ngVuxQUK1M8,3810
|
15
15
|
kodexa/model/model.py,sha256=q3zEm6pPOB-xPCKbOxmTMqLALzmQr2Ppam8knApoSEE,119645
|
16
|
-
kodexa/model/objects.py,sha256=
|
16
|
+
kodexa/model/objects.py,sha256=_UBXeFOGb1MtHXyBDxjUgFUfpOzwtf0BjGPrFDPutAA,198892
|
17
17
|
kodexa/model/persistence.py,sha256=jUgQ8xwsAFIoZ_bEynxCDEWhUII42eN0e0Mum0dkQPg,72043
|
18
18
|
kodexa/model/utils.py,sha256=YEG3f8YzBil06D0P3_dfx2S9GnHREzyrjnlWwQ7oPlU,3038
|
19
19
|
kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
|
20
20
|
kodexa/pipeline/pipeline.py,sha256=zyNEpA7KlGhPs_l-vgV6m-OCb16dbxQhl8QezeylugA,25540
|
21
21
|
kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
|
22
|
-
kodexa/platform/client.py,sha256=
|
22
|
+
kodexa/platform/client.py,sha256=j_GhxL_BpPV7SjPBsy6gaE0Cq-Fh2cDtfRzUvKhiDiY,235015
|
23
23
|
kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
|
24
24
|
kodexa/platform/kodexa.py,sha256=MUkJx0g-92R0JxoOTUubFqDP4YriXreCSLy6s46XPmo,35102
|
25
25
|
kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
|
@@ -44,7 +44,7 @@ kodexa/testing/test_utils.py,sha256=v44p__gE7ia67W7WeHN2HBFCWSCUrCZt7G4xBNCmwf8,
|
|
44
44
|
kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
|
45
45
|
kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
46
46
|
kodexa/utils/__init__.py,sha256=Pnim1o9_db5YEnNvDTxpM7HG-qTlL6n8JwFwOafU9wo,5928
|
47
|
-
kodexa-7.4.
|
48
|
-
kodexa-7.4.
|
49
|
-
kodexa-7.4.
|
50
|
-
kodexa-7.4.
|
47
|
+
kodexa-7.4.414071373139.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
48
|
+
kodexa-7.4.414071373139.dist-info/METADATA,sha256=6iHo7chONEs6BNQtp4R8TlJe4p3sh0clyB6dKlxdvJ0,2813
|
49
|
+
kodexa-7.4.414071373139.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
50
|
+
kodexa-7.4.414071373139.dist-info/RECORD,,
|
File without changes
|
File without changes
|