kodexa 7.0.7632319309__py3-none-any.whl → 7.0.7643549994__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/model/objects.py CHANGED
@@ -2893,7 +2893,6 @@ class Workspace(BaseModel):
2893
2893
  project: Optional[Project] = None
2894
2894
  name: Optional[str] = None
2895
2895
  description: Optional[str] = None
2896
- channel: Optional[Channel] = None
2897
2896
  workspace_storage: Optional[WorkspaceStorage] = Field(
2898
2897
  None, alias="workspaceStorage"
2899
2898
  )
@@ -4196,6 +4195,7 @@ class Guidance(BaseModel):
4196
4195
 
4197
4196
  compiled_guidance: Optional[Dict[str, Any]] = Field(None, alias="compiledGuidance")
4198
4197
 
4198
+
4199
4199
  class GuidanceSet(ExtensionPackProvided):
4200
4200
  """
4201
4201
 
@@ -4237,7 +4237,7 @@ class Prompt(ExtensionPackProvided):
4237
4237
  """
4238
4238
 
4239
4239
  """
4240
- template: Optional[str] = None
4240
+ prompt_template: Optional[str] = None
4241
4241
  options: Optional[List[Option]] = Field(
4242
4242
  None, description="Options for the prompt"
4243
4243
  )
@@ -4245,10 +4245,10 @@ class Prompt(ExtensionPackProvided):
4245
4245
 
4246
4246
  def render(self, properties):
4247
4247
  if self.template_type == "FSTRING":
4248
- return self.template.format(**properties)
4248
+ return self.prompt_template.format(**properties)
4249
4249
  elif self.template_type == "MUSTACHE":
4250
4250
  import chevron
4251
- return chevron.render(self.template, properties)
4251
+ return chevron.render(self.prompt_template, properties)
4252
4252
  else:
4253
4253
  raise Exception(f"Unknown template type {self.template_type}")
4254
4254
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.7632319309
3
+ Version: 7.0.7643549994
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -6,7 +6,7 @@ kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7TH
6
6
  kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
7
7
  kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
8
8
  kodexa/model/model.py,sha256=2rbNYpBIrOXZ1Vz1d6JfFxYg-tXujjE765pzoGgTNT8,114447
9
- kodexa/model/objects.py,sha256=q93LqZZKD-0PkUprJdCtPhnFFxm2Ug1VUsQOk4ceFX0,169974
9
+ kodexa/model/objects.py,sha256=wzAV2DNkL-Zj1qIoyICAehmQstZrnplkIidS0VEoPvY,169958
10
10
  kodexa/model/persistence.py,sha256=Ekf276WAtY2MOkryug9IpcM_HwnJSPpSWEFZgiUODMc,57390
11
11
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
12
12
  kodexa/pipeline/pipeline.py,sha256=cIRFOoJkguIYgNzx6FYrODdBpcY25CM_SULsqSsHeXE,24323
@@ -34,7 +34,7 @@ kodexa/testing/test_components.py,sha256=4BnzCCOA5v__82mB1TIBPHfNIGJbkZz9PiTZiNK
34
34
  kodexa/testing/test_utils.py,sha256=IWLKBvMHATzrsoO9PQFGcwoGcuZykhAS3QRddfzb_XE,14043
35
35
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
36
36
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- kodexa-7.0.7632319309.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
- kodexa-7.0.7632319309.dist-info/METADATA,sha256=_wts4h90Zy-l_gg1Wm5zigK2X0-maa4uz4O9u2uqP28,4067
39
- kodexa-7.0.7632319309.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
- kodexa-7.0.7632319309.dist-info/RECORD,,
37
+ kodexa-7.0.7643549994.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
+ kodexa-7.0.7643549994.dist-info/METADATA,sha256=4EzcB1SoMzaIcR47Mlxd2lp7FRrOLXD-f_MaLhr0JJQ,4067
39
+ kodexa-7.0.7643549994.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
+ kodexa-7.0.7643549994.dist-info/RECORD,,