kodexa 7.4.413441419232__py3-none-any.whl → 7.4.413468658592__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
@@ -4634,14 +4634,18 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
4634
4634
 
4635
4635
  def get_json(
4636
4636
  self,
4637
- project_id: str,
4637
+ project_id: Optional[str] = None,
4638
4638
  friendly_names=False,
4639
+ include_ids=True,
4640
+ include_exceptions=False,
4639
4641
  ) -> str:
4640
4642
  """Get the JSON export for the document family
4641
4643
 
4642
4644
  Args:
4643
4645
  project_id str: The project ID
4644
4646
  friendly_names (bool): Whether to use friendly names. Defaults to False
4647
+ include_ids (bool): Whether to include the IDs. Defaults to True
4648
+ include_exceptions (bool): Whether to include the exceptions. Defaults to False
4645
4649
 
4646
4650
  Returns:
4647
4651
  str: The JSON
@@ -4656,6 +4660,8 @@ class DocumentFamilyEndpoint(DocumentFamily, ClientEndpoint):
4656
4660
  "format": "json",
4657
4661
  "friendlyNames": friendly_names,
4658
4662
  "projectId": project_id,
4663
+ "includeIds": include_ids,
4664
+ "includeExceptions": include_exceptions,
4659
4665
  }
4660
4666
 
4661
4667
  response = self.client.get(url, params=params)
@@ -5159,6 +5165,8 @@ class DataStoreEndpoint(StoreEndpoint):
5159
5165
  path: Optional[str] = None,
5160
5166
  root_name: str = "",
5161
5167
  friendly_names=True,
5168
+ include_ids=True,
5169
+ include_exceptions=False,
5162
5170
  ) -> str:
5163
5171
  """Get the data objects export of the store
5164
5172
 
@@ -5168,6 +5176,8 @@ class DataStoreEndpoint(StoreEndpoint):
5168
5176
  path (Optional[str]): The path to the data object
5169
5177
  root_name (str): The root name of the data objects export
5170
5178
  friendly_names (bool): Whether to use friendly names. Defaults to True
5179
+ include_ids (bool): Whether to include the data object IDs. Defaults to True
5180
+ include_exceptions (bool): Whether to include the data object exceptions. Defaults to False
5171
5181
 
5172
5182
  Returns:
5173
5183
  str: The data objects export of the store
@@ -5177,6 +5187,8 @@ class DataStoreEndpoint(StoreEndpoint):
5177
5187
  "format": output_format,
5178
5188
  "friendlyNames": friendly_names,
5179
5189
  "rootName": root_name,
5190
+ "includeIds": include_ids,
5191
+ "includeExceptions": include_exceptions,
5180
5192
  }
5181
5193
  if document_family:
5182
5194
  params["documentFamilyId"] = document_family.id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.4.413441419232
3
+ Version: 7.4.413468658592
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=6R-3rFiW9irBwj0Mq5yhp7EDXkNUFaeFhr3bWmnlW4g,2961
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=4wnUPN68MR2QYi2YDtXUW2sGrdqP-7pEZgOQp2SEJsI,230736
22
+ kodexa/platform/client.py,sha256=e-MZV4chLYVQj24EADsOdYXbRJ6dgdJJmZ0fqfujSQw,231445
23
23
  kodexa/platform/interaction.py,sha256=6zpcwXKNZstUGNS6m4JsoRXAqCZPJHWI-ZN3co8nnF0,1055
24
24
  kodexa/platform/kodexa.py,sha256=tPXHO500q3S75GhKGDcaxO51Viq2PNlHmAzpBZlahgo,34857
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.413441419232.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
- kodexa-7.4.413441419232.dist-info/METADATA,sha256=bqNlh1J0VAoyF-WxprbQ_EqRiQalLJyZbn0tedQxa0c,2813
49
- kodexa-7.4.413441419232.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
- kodexa-7.4.413441419232.dist-info/RECORD,,
47
+ kodexa-7.4.413468658592.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
48
+ kodexa-7.4.413468658592.dist-info/METADATA,sha256=_9AzDJkUAQskzkRPCwixdN3ljDo2ulm-46-aDDTERqM,2813
49
+ kodexa-7.4.413468658592.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
50
+ kodexa-7.4.413468658592.dist-info/RECORD,,