kodexa 7.0.8217222635__tar.gz → 7.0.8246792526__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 (41) hide show
  1. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/PKG-INFO +1 -1
  2. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/pipeline/pipeline.py +4 -1
  3. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/platform/client.py +3 -3
  4. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/pyproject.toml +1 -1
  5. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/LICENSE +0 -0
  6. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/README.md +0 -0
  7. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/__init__.py +0 -0
  8. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/assistant/__init__.py +0 -0
  9. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/assistant/assistant.py +0 -0
  10. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/connectors/__init__.py +0 -0
  11. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/connectors/connectors.py +0 -0
  12. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/model/__init__.py +0 -0
  13. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/model/base.py +0 -0
  14. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/model/model.py +0 -0
  15. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/model/objects.py +0 -0
  16. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/model/persistence.py +0 -0
  17. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/pipeline/__init__.py +0 -0
  18. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/platform/__init__.py +0 -0
  19. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/platform/interaction.py +0 -0
  20. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/platform/kodexa.py +0 -0
  21. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/__init__.py +0 -0
  22. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/ast.py +0 -0
  23. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/core.py +0 -0
  24. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/lexrules.py +0 -0
  25. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/lextab.py +0 -0
  26. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/lextab.pyi +0 -0
  27. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/parserules.py +0 -0
  28. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/parserules.pyi +0 -0
  29. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/parsetab.py +0 -0
  30. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/selectors/parsetab.pyi +0 -0
  31. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/spatial/__init__.py +0 -0
  32. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/spatial/azure_models.py +0 -0
  33. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/spatial/bbox_common.py +0 -0
  34. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/spatial/table_form_common.py +0 -0
  35. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/steps/__init__.py +0 -0
  36. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/steps/common.py +0 -0
  37. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/testing/__init__.py +0 -0
  38. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/testing/test_components.py +0 -0
  39. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/testing/test_utils.py +0 -0
  40. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/training/__init__.py +0 -0
  41. {kodexa-7.0.8217222635 → kodexa-7.0.8246792526}/kodexa/training/train_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.8217222635
3
+ Version: 7.0.8246792526
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -233,7 +233,7 @@ class PipelineStep:
233
233
  """
234
234
 
235
235
  def __init__(
236
- self, step, name=None, options=None, attach_source=False, step_type="ACTION"
236
+ self, step, name=None, options=None, attach_source=False, step_type="ACTION", conditional=None
237
237
  ):
238
238
  if options is None:
239
239
  options = {}
@@ -241,6 +241,7 @@ class PipelineStep:
241
241
  self.name = name
242
242
  self.options = options
243
243
  self.step_type = step_type
244
+ self.conditional = conditional
244
245
 
245
246
  if str(type(self.step)) == "<class 'type'>":
246
247
  logger.info(f"Adding new step class {step.__name__} to pipeline")
@@ -284,6 +285,8 @@ class PipelineStep:
284
285
 
285
286
  metadata["name"] = self.name
286
287
  metadata["stepType"] = self.step_type
288
+ metadata["options"] = self.options
289
+ metadata["conditional"] = self.conditional
287
290
  return metadata
288
291
  except AttributeError as e:
289
292
  raise Exception("All steps must implement to_dict() for deployment", e)
@@ -2080,7 +2080,7 @@ class ProjectGuidanceEndpoint(ProjectResourceEndpoint):
2080
2080
  return "guidance"
2081
2081
 
2082
2082
  def get_instance_class(self, object_dict=None):
2083
- return GuidanceEndpoint
2083
+ return GuidanceSetEndpoint
2084
2084
 
2085
2085
 
2086
2086
  class ProjectDataFormEndpoint(ProjectResourceEndpoint):
@@ -2895,7 +2895,7 @@ class GuidanceEndpoint(ComponentEndpoint, ClientEndpoint, OrganizationOwned):
2895
2895
  """
2896
2896
  Represents a guidance endpoint.
2897
2897
 
2898
- This class is used to interact with the prompts endpoint of the API.
2898
+ This class is used to interact with the guidance endpoint of the API.
2899
2899
  It provides methods to get the type, page class, and instance class of the endpoint,
2900
2900
  as well as to deploy an extension pack from a URL.
2901
2901
  """
@@ -2905,7 +2905,7 @@ class GuidanceEndpoint(ComponentEndpoint, ClientEndpoint, OrganizationOwned):
2905
2905
  Get the type of the endpoint.
2906
2906
 
2907
2907
  Returns:
2908
- str: The type of the endpoint, "prompts".
2908
+ str: The type of the endpoint, "guidance".
2909
2909
  """
2910
2910
  return "guidance"
2911
2911
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kodexa"
3
- version = "7.0.08217222635"
3
+ version = "7.0.08246792526"
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