truefoundry 0.4.6__py3-none-any.whl → 0.4.7rc0__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.

Potentially problematic release.


This version of truefoundry might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: application.json
3
- # timestamp: 2024-10-16T17:06:03+00:00
3
+ # timestamp: 2024-11-04T08:35:21+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -315,7 +315,7 @@ class GitHelmRepo(BaseModel):
315
315
  regex=r"^(((https?|wss):\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*))$"
316
316
  ) = Field(
317
317
  ...,
318
- description="+label=Git repository URL\n+sort=1\n+message=Needs to be a valid URL.\nTODO: Check this regex and add guidelines",
318
+ description="TODO: Check this regex and add guidelines\n+label=Git repository URL\n+sort=1\n+message=Needs to be a valid URL.",
319
319
  )
320
320
  revision: str = Field(
321
321
  ...,
@@ -1151,7 +1151,7 @@ class VolumeMount(BaseModel):
1151
1151
  ...,
1152
1152
  description="+label=Volume mount path\n+usage=Absolute file path where the volume will be mounted.\n+message=Please enter a valid mount path",
1153
1153
  )
1154
- sub_path: Optional[str] = Field(
1154
+ sub_path: Optional[constr(regex=r"^(?:[^/\n]+/*)*[^/\n]+(\.[^/\n]+)?$")] = Field(
1155
1155
  None,
1156
1156
  description="+label=Sub Path\n+usage=Sub path within the volume to mount. Defaults to root of the volume.",
1157
1157
  )
@@ -1285,7 +1285,7 @@ class Codeserver(BaseWorkbenchInput):
1285
1285
 
1286
1286
 
1287
1287
  class ContainerTaskConfig(BaseModel):
1288
- type: constr(regex=r"^container-task-config$") = Field(
1288
+ type: Literal["container-task-config"] = Field(
1289
1289
  ..., description="+value=container-task-config"
1290
1290
  )
1291
1291
  image: Union[Build, Image] = Field(
@@ -1301,7 +1301,9 @@ class ContainerTaskConfig(BaseModel):
1301
1301
  None,
1302
1302
  description="+usage=Configure data to be mounted to Workflow pod(s) as a volume.\n+sort=400",
1303
1303
  )
1304
- service_account: str = Field(..., description="+label=Service Account\n+sort=500")
1304
+ service_account: Optional[str] = Field(
1305
+ None, description="+label=Service Account\n+sort=500"
1306
+ )
1305
1307
 
1306
1308
 
1307
1309
  class CoreNATSOutputConfig(BaseModel):
@@ -1559,7 +1561,7 @@ class PythonTaskConfig(BaseModel):
1559
1561
  +docs=Describes the configuration for the python function task
1560
1562
  """
1561
1563
 
1562
- type: constr(regex=r"^python-task-config$") = Field(
1564
+ type: Literal["python-task-config"] = Field(
1563
1565
  ..., description="+value=python-task-config"
1564
1566
  )
1565
1567
  image: Union[TaskPythonBuild, TaskDockerFileBuild] = Field(
@@ -1575,7 +1577,9 @@ class PythonTaskConfig(BaseModel):
1575
1577
  None,
1576
1578
  description="+usage=Configure data to be mounted to Workflow pod(s) as a volume.\n+sort=400",
1577
1579
  )
1578
- service_account: str = Field(..., description="+label=Service Account\n+sort=500")
1580
+ service_account: Optional[str] = Field(
1581
+ None, description="+label=Service Account\n+sort=500"
1582
+ )
1579
1583
 
1580
1584
 
1581
1585
  class SSHServer(BaseWorkbenchInput):
@@ -1722,7 +1726,7 @@ class Workflow(BaseModel):
1722
1726
  +docs=Describes the configuration for the worflow
1723
1727
  """
1724
1728
 
1725
- type: constr(regex=r"^workflow$") = Field(..., description="+value=workflow")
1729
+ type: Literal["workflow"] = Field(..., description="+value=workflow")
1726
1730
  name: constr(regex=r"^[a-z][a-z0-9\-]{1,30}[a-z0-9]$") = Field(
1727
1731
  ...,
1728
1732
  description="+usage=Name of the workflow\n+sort=1\n+message=3 to 32 lower case characters long alphanumeric word, may contain - in between, cannot start with a number",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.4.6
3
+ Version: 0.4.7rc0
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -36,7 +36,7 @@ truefoundry/common/request_utils.py,sha256=5xw4YGUcMf71Ncal3OfFCa-PoWDIvG3hYGCDa
36
36
  truefoundry/common/servicefoundry_client.py,sha256=2fxmgCM-ckFHpnm6n_mL-5Z8RWN_q-dYVvFC29bkYSg,3120
37
37
  truefoundry/common/utils.py,sha256=MYFjNtHGqauqhj9tmbdErCJR49AfXDwg-5kYbBh8HpI,3258
38
38
  truefoundry/deploy/__init__.py,sha256=ugawKF2G02EmEXX35oZ2tec12d9oWN28Sf6mtGGIERY,2281
39
- truefoundry/deploy/auto_gen/models.py,sha256=4MaxkG2_5Wg6avaZRlK0D4JiVEM5rk3NU0BCiTx8VyU,82477
39
+ truefoundry/deploy/auto_gen/models.py,sha256=8848BDbq2hO8Y75LsBH3cS0vi8qEOKU5x6oBtVmYorE,82552
40
40
  truefoundry/deploy/builder/__init__.py,sha256=1qjHMNBE1poRCZW0WrG46dFM1f1IlivD5352qzsioMU,4953
41
41
  truefoundry/deploy/builder/builders/__init__.py,sha256=tlFLXqyDaKLd4iZbo4Hcu_8gOmgtL6drnXpbmQ6x1P8,636
42
42
  truefoundry/deploy/builder/builders/dockerfile.py,sha256=AXXTziCkaqIhuM_bwyD1vT1znOwemN1TKgU7eyo-KuM,1522
@@ -355,7 +355,7 @@ truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=ln3zx72jM
355
355
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=Hf6Dk6Fu6P7DqsK5ULgraf9DStjgigf-kjaRAMBW-RU,8680
356
356
  truefoundry/workflow/task.py,sha256=ToitYiKcNzFCtOVQwz1W8sRjbR97eVS7vQBdbgUQtKg,1779
357
357
  truefoundry/workflow/workflow.py,sha256=WaTqUjhwfAXDWu4E5ehuwAxrCbDJkoAf1oWmR2E9Qy0,4575
358
- truefoundry-0.4.6.dist-info/METADATA,sha256=xMHeMDZtsbcVayGsYdRaNH6uMXROl-lx1759kIXYwS8,3098
359
- truefoundry-0.4.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
360
- truefoundry-0.4.6.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
361
- truefoundry-0.4.6.dist-info/RECORD,,
358
+ truefoundry-0.4.7rc0.dist-info/METADATA,sha256=6HYqMZKEbtVgTpk3Uowj4H2IGGPBMGWjaZA3mZkNy7g,3101
359
+ truefoundry-0.4.7rc0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
360
+ truefoundry-0.4.7rc0.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
361
+ truefoundry-0.4.7rc0.dist-info/RECORD,,