kodexa 6.3.36242115039__py3-none-any.whl → 6.3.36275611504__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/platform/client.py CHANGED
@@ -1780,12 +1780,14 @@ class AssistantEndpoint(Assistant, ClientEndpoint):
1780
1780
  def activate(self):
1781
1781
  """Activate the assistant."""
1782
1782
  url = f"/api/projects/{self.project.id}/assistants/{self.id}/activate"
1783
- self.client.put(url)
1783
+ response = self.client.put(url)
1784
+ self.change_sequence = response.json().get("changeSequence")
1784
1785
 
1785
1786
  def deactivate(self):
1786
1787
  """Deactivate the assistant."""
1787
1788
  url = f"/api/projects/{self.project.id}/assistants/{self.id}/deactivate"
1788
- self.client.put(url)
1789
+ response = self.client.put(url)
1790
+ self.change_sequence = response.json().get("changeSequence")
1789
1791
 
1790
1792
  def schedule(self):
1791
1793
  """Schedule the assistant."""
@@ -1802,9 +1804,10 @@ class AssistantEndpoint(Assistant, ClientEndpoint):
1802
1804
  AssistantEndpoint: The updated assistant endpoint.
1803
1805
  """
1804
1806
  url = f"/api/projects/{self.project.id}/assistants/{self.id}/stores"
1805
- self.client.put(
1807
+ response = self.client.put(
1806
1808
  url, body=[store.model_dump(mode="json", by_alias=True) for store in stores]
1807
1809
  )
1810
+ self.change_sequence = response.json().get("changeSequence")
1808
1811
  return self
1809
1812
 
1810
1813
  def get_stores(self) -> List["DocumentStoreEndpoint"]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 6.3.36242115039
3
+ Version: 6.3.36275611504
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -11,7 +11,7 @@ kodexa/model/persistence.py,sha256=TajtXfHp7dL85R5ui9A2h6rLMecDUr6OYZHVgm8CVJw,5
11
11
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
12
12
  kodexa/pipeline/pipeline.py,sha256=lgwrENi1HtTd6mN6ys7SjVfiJbwMU6DTmN43fR9OF-c,24462
13
13
  kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
14
- kodexa/platform/client.py,sha256=_dvB5p6j4cd80HIqCEYTp1glv-OohSkIv-biikVLTuc,199697
14
+ kodexa/platform/client.py,sha256=cqc-05BS74ukXW8ieMjU7baCfzCL_-iCyJLYpVWHorg,199940
15
15
  kodexa/platform/kodexa.py,sha256=J5OeAC29RSX1ZcBXpQpYM6urxDcTeF_7lv0ZQOofcb8,33668
16
16
  kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
17
17
  kodexa/selectors/ast.py,sha256=gG-1st841IntgBE5V7p3Cq9azaym2jV5lB_AIywQTCI,13269
@@ -34,7 +34,7 @@ kodexa/testing/test_components.py,sha256=4BnzCCOA5v__82mB1TIBPHfNIGJbkZz9PiTZiNK
34
34
  kodexa/testing/test_utils.py,sha256=IWLKBvMHATzrsoO9PQFGcwoGcuZykhAS3QRddfzb_XE,14043
35
35
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
36
36
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- kodexa-6.3.36242115039.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
- kodexa-6.3.36242115039.dist-info/METADATA,sha256=fDqrxfAZdrYIELKIYchUZLjRZ7EFBNptYX1L2l9lguY,4068
39
- kodexa-6.3.36242115039.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
- kodexa-6.3.36242115039.dist-info/RECORD,,
37
+ kodexa-6.3.36275611504.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
+ kodexa-6.3.36275611504.dist-info/METADATA,sha256=YpKUDvMrDuOPFUE_Ol8Md0pLVi1eJgE7nG285thV0dI,4068
39
+ kodexa-6.3.36275611504.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
+ kodexa-6.3.36275611504.dist-info/RECORD,,