kodexa 7.4.414071373139__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 +24 -0
- kodexa/platform/kodexa.py +1 -1
- {kodexa-7.4.414071373139.dist-info → kodexa-7.4.414230086008.dist-info}/METADATA +1 -1
- {kodexa-7.4.414071373139.dist-info → kodexa-7.4.414230086008.dist-info}/RECORD +6 -6
- {kodexa-7.4.414071373139.dist-info → kodexa-7.4.414230086008.dist-info}/LICENSE +0 -0
- {kodexa-7.4.414071373139.dist-info → kodexa-7.4.414230086008.dist-info}/WHEEL +0 -0
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,
|
kodexa/platform/kodexa.py
CHANGED
@@ -281,7 +281,7 @@ class KodexaPlatform:
|
|
281
281
|
save_config(kodexa_config)
|
282
282
|
|
283
283
|
@classmethod
|
284
|
-
def clear_profile(cls, profile):
|
284
|
+
def clear_profile(cls, profile=None):
|
285
285
|
kodexa_config = get_config(profile)
|
286
286
|
kodexa_config["_current_profile_"] = None
|
287
287
|
save_config(kodexa_config)
|
@@ -19,9 +19,9 @@ 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=BMDJU78tUJJ_QOmvnAtvLFbZGZJMHS6ScO1lXEbJp9g,235965
|
23
23
|
kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
|
24
|
-
kodexa/platform/kodexa.py,sha256=
|
24
|
+
kodexa/platform/kodexa.py,sha256=foFtSakAHRbYhJQ_JQBOnrxVGVoLhsY8LKZlI3BVdtQ,35107
|
25
25
|
kodexa/selectors/__init__.py,sha256=xA9-4vpyaAZWPSk3bh2kvDLkdv6XEmm7PjFbpziiTIk,100
|
26
26
|
kodexa/selectors/ast.py,sha256=K0JUY2tYYCmDlh4uz5N8Jh2zInDremlnriPsY3dx0AI,13523
|
27
27
|
kodexa/selectors/core.py,sha256=kkt02DN20gXeaDGoGubPPeeTV7rCr4sxTyELrI0l1YU,3691
|
@@ -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.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,,
|
File without changes
|
File without changes
|