kodexa 6.3.35691157156__tar.gz → 6.3.35730305135__tar.gz

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.
Files changed (40) hide show
  1. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/PKG-INFO +1 -1
  2. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/platform/client.py +5 -8
  3. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/pyproject.toml +1 -1
  4. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/LICENSE +0 -0
  5. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/README.md +0 -0
  6. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/__init__.py +0 -0
  7. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/assistant/__init__.py +0 -0
  8. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/assistant/assistant.py +0 -0
  9. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/connectors/__init__.py +0 -0
  10. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/connectors/connectors.py +0 -0
  11. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/model/__init__.py +0 -0
  12. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/model/base.py +0 -0
  13. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/model/model.py +0 -0
  14. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/model/objects.py +0 -0
  15. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/model/persistence.py +0 -0
  16. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/pipeline/__init__.py +0 -0
  17. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/pipeline/pipeline.py +0 -0
  18. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/platform/__init__.py +0 -0
  19. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/platform/kodexa.py +0 -0
  20. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/__init__.py +0 -0
  21. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/ast.py +0 -0
  22. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/core.py +0 -0
  23. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/lexrules.py +0 -0
  24. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/lextab.py +0 -0
  25. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/lextab.pyi +0 -0
  26. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/parserules.py +0 -0
  27. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/parserules.pyi +0 -0
  28. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/parsetab.py +0 -0
  29. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/selectors/parsetab.pyi +0 -0
  30. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/spatial/__init__.py +0 -0
  31. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/spatial/azure_models.py +0 -0
  32. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/spatial/bbox_common.py +0 -0
  33. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/spatial/table_form_common.py +0 -0
  34. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/steps/__init__.py +0 -0
  35. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/steps/common.py +0 -0
  36. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/testing/__init__.py +0 -0
  37. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/testing/test_components.py +0 -0
  38. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/testing/test_utils.py +0 -0
  39. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/training/__init__.py +0 -0
  40. {kodexa-6.3.35691157156 → kodexa-6.3.35730305135}/kodexa/training/train_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 6.3.35691157156
3
+ Version: 6.3.35730305135
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -211,9 +211,9 @@ class ComponentEndpoint(ClientEndpoint, OrganizationOwned):
211
211
  :param version:
212
212
  :return:
213
213
  """
214
- filters = ["slug=" + slug]
214
+ filters = ["slug: '" + slug + "'"]
215
215
  if version is not None:
216
- filters.append("version=" + version)
216
+ filters.append("version: '" + version + "'")
217
217
  component_page = self.list(filters=filters)
218
218
  if component_page.empty:
219
219
  return None
@@ -230,7 +230,6 @@ class ComponentEndpoint(ClientEndpoint, OrganizationOwned):
230
230
  params["sort"] = sort
231
231
 
232
232
  if filters is not None:
233
- params["legacyFilter"] = True
234
233
  params["filter"] = filters
235
234
 
236
235
  while True:
@@ -259,7 +258,6 @@ class ComponentEndpoint(ClientEndpoint, OrganizationOwned):
259
258
  params["sort"] = sort
260
259
 
261
260
  if filters is not None:
262
- params["legacyFilter"] = True
263
261
  params["filter"] = filters
264
262
 
265
263
  list_response = self.client.get(url, params=params)
@@ -380,14 +378,13 @@ class EntitiesEndpoint:
380
378
  params["sort"] = sort
381
379
 
382
380
  if filters is not None:
383
- params["legacyFilter"] = True
384
381
  params["filter"] = filters
385
382
 
386
383
  if self.organization is not None:
387
384
  if 'filter' not in params:
388
385
  params['filter'] = [f"organization.id: '{self.organization.id}'"]
389
386
  else:
390
- params['filter'].append(f"organization.id={self.organization.id}")
387
+ params['filter'].append(f"organization.id: '{self.organization.id}'")
391
388
 
392
389
  list_response = self.client.get(url, params=params)
393
390
  return self.get_page_class().model_validate(list_response.json()).set_client(self.client)
@@ -395,7 +392,7 @@ class EntitiesEndpoint:
395
392
  def find_by_organization(self, organization: Organization) -> PageProject:
396
393
  """Find projects by organization"""
397
394
  url = f"/api/{self.get_type()}/"
398
- get_response = self.client.get(url, params={'filter': f'organization.id={organization.id}'})
395
+ get_response = self.client.get(url, params={'filter': f"organization.id: '{organization.id}'"})
399
396
  return self.get_page_class().model_validate(get_response.json()).set_client(self.client)
400
397
 
401
398
  def get(self, entity_id: str) -> "EntityEndpoint":
@@ -437,7 +434,7 @@ class OrganizationsEndpoint(EntitiesEndpoint):
437
434
  :param slug:
438
435
  :return:
439
436
  """
440
- organizations = self.list(filters=["slug=" + slug])
437
+ organizations = self.list(filters=["slug: '" + slug + "'"])
441
438
  if organizations.number_of_elements == 0:
442
439
  return None
443
440
  return organizations.content[0]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kodexa"
3
- version = "6.3.35691157156"
3
+ version = "6.3.35730305135"
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"