kodexa 7.4.413902283427__py3-none-any.whl → 7.4.414042430016__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 CHANGED
@@ -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 a Material Design Icon to use for the event"
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.413902283427
3
+ Version: 7.4.414042430016
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -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=TuwX89ERCa34BUbO2iMln5GHxGdOXDHH737zjyO-LTY,198831
16
+ kodexa/model/objects.py,sha256=kC7B7ix50r9Q6j1h6BXJg5q-mKZXceUqmRHQOQtd7DY,198864
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=pxupPbBfknLHx8s0DrjIvrPc1dhruNWCR1syZDsnHlU,234976
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.413902283427.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
- kodexa-7.4.413902283427.dist-info/METADATA,sha256=J6xLxe-IRbkSTIlcdn_hsLDXLN8Wy0eRNmmS8cypTKw,2813
49
- kodexa-7.4.413902283427.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
- kodexa-7.4.413902283427.dist-info/RECORD,,
47
+ kodexa-7.4.414042430016.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
+ kodexa-7.4.414042430016.dist-info/METADATA,sha256=FPbC8bp88XRGk6ULxCoYBmuCS8RVI8UuGys1Rw4nMcQ,2813
49
+ kodexa-7.4.414042430016.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
+ kodexa-7.4.414042430016.dist-info/RECORD,,