kodexa 7.4.412538433490__tar.gz → 7.4.412795515848__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/PKG-INFO +1 -1
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/platform/client.py +30 -1
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/pyproject.toml +1 -1
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/LICENSE +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/README.md +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/assistant/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/assistant/assistant.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/connectors/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/connectors/connectors.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/dataclasses/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/dataclasses/templates/llm_data_class.j2 +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/base.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/check_response.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/product.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/product_group.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/product_subscription.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/model.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/objects.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/persistence.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/utils.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/platform/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/platform/interaction.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/platform/kodexa.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/ast.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/core.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/lextab.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/parserules.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/spatial/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/steps/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/steps/common.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/testing/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/testing/test_components.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/testing/test_utils.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/training/__init__.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/training/train_utils.py +0 -0
- {kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/utils/__init__.py +0 -0
@@ -4616,6 +4616,35 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
|
|
4616
4616
|
url = f"/api/documentFamilies/{self.id}/externalData"
|
4617
4617
|
response = self.client.put(url, body=external_data)
|
4618
4618
|
return response.json()
|
4619
|
+
|
4620
|
+
def get_json(
|
4621
|
+
self,
|
4622
|
+
project_id: str,
|
4623
|
+
friendly_names=False,
|
4624
|
+
) -> str:
|
4625
|
+
"""Get the JSON export for the document family
|
4626
|
+
|
4627
|
+
Args:
|
4628
|
+
project_id str: The project ID
|
4629
|
+
friendly_names (bool): Whether to use friendly names. Defaults to False
|
4630
|
+
|
4631
|
+
Returns:
|
4632
|
+
str: The JSON
|
4633
|
+
"""
|
4634
|
+
if project_id is None:
|
4635
|
+
raise Exception(
|
4636
|
+
f"Project ID is required"
|
4637
|
+
)
|
4638
|
+
|
4639
|
+
url = f"/api/stores/{self.store_ref.replace(':', '/')}/families/{self.id}/dataObjects"
|
4640
|
+
params = {
|
4641
|
+
"format": "json",
|
4642
|
+
"friendlyNames": friendly_names,
|
4643
|
+
"projectId": project_id,
|
4644
|
+
}
|
4645
|
+
|
4646
|
+
response = self.client.get(url, params=params)
|
4647
|
+
return response.text
|
4619
4648
|
|
4620
4649
|
def export(self) -> bytes:
|
4621
4650
|
"""
|
@@ -5138,7 +5167,7 @@ class DataStoreEndpoint(StoreEndpoint):
|
|
5138
5167
|
|
5139
5168
|
response = self.client.get(url, params=params)
|
5140
5169
|
return response.text
|
5141
|
-
|
5170
|
+
|
5142
5171
|
def get_taxonomies(self) -> List[Taxonomy]:
|
5143
5172
|
"""Get the taxonomies of the store
|
5144
5173
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "7.4.
|
3
|
+
version = "7.4.412795515848"
|
4
4
|
description = "Python SDK for the Kodexa Platform"
|
5
5
|
authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
|
6
6
|
readme = "README.md"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/dataclasses/templates/llm_data_class.j2
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{kodexa-7.4.412538433490 → kodexa-7.4.412795515848}/kodexa/model/entities/product_subscription.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|