kodexa 7.4.414222732764__py3-none-any.whl → 7.4.414230086008__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
@@ -5324,6 +5324,30 @@ class DataStoreEndpoint(StoreEndpoint):
5324
5324
  for taxonomy_response in taxonomy_response.json()
5325
5325
  ]
5326
5326
 
5327
+ def get_data_exceptions(self, filter: str = None, page=1, page_size=10) -> List[DataExceptionEndpoint]:
5328
+ """Get the data exceptions of the store
5329
+
5330
+ Args:
5331
+ filter (str): The filter to limit the results. Defaults to None
5332
+ page (int): The page number to get. Defaults to 1
5333
+ page_size (int): The size of the page. Defaults to 10
5334
+
5335
+ Returns:
5336
+ List[DataExceptionEndpoint]: The data exceptions in the store
5337
+ """
5338
+ url = f"/api/exceptions"
5339
+ base_filter= f"dataObject.store.id: '{self.id}'"
5340
+
5341
+ if filter:
5342
+ filter = f"{base_filter} AND ({filter})"
5343
+
5344
+ url += f"?filter={filter}&page={page}&pageSize={page_size}"
5345
+ data_exception_response = self.client.get(url)
5346
+ return [
5347
+ DataExceptionEndpoint.model_validate(data_exception_response)
5348
+ for data_exception_response in data_exception_response.json().content
5349
+ ]
5350
+
5327
5351
  def get_data_objects_df(
5328
5352
  self,
5329
5353
  path: str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.414222732764
3
+ Version: 7.4.414230086008
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -19,7 +19,7 @@ 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=j_GhxL_BpPV7SjPBsy6gaE0Cq-Fh2cDtfRzUvKhiDiY,235015
22
+ kodexa/platform/client.py,sha256=BMDJU78tUJJ_QOmvnAtvLFbZGZJMHS6ScO1lXEbJp9g,235965
23
23
  kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
24
24
  kodexa/platform/kodexa.py,sha256=foFtSakAHRbYhJQ_JQBOnrxVGVoLhsY8LKZlI3BVdtQ,35107
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.414222732764.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
- kodexa-7.4.414222732764.dist-info/METADATA,sha256=egAccTE-4bM7gE-O5eBlMjAPaWE3YpvbPqmX0s0jDTg,2813
49
- kodexa-7.4.414222732764.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
- kodexa-7.4.414222732764.dist-info/RECORD,,
47
+ kodexa-7.4.414230086008.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
+ kodexa-7.4.414230086008.dist-info/METADATA,sha256=md6VlTt_2ODpc-xrLeqMMi8aSYvFojbLpNkppp8fRqs,2813
49
+ kodexa-7.4.414230086008.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
+ kodexa-7.4.414230086008.dist-info/RECORD,,