truefoundry 0.11.4__py3-none-any.whl → 0.11.5__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: 2025-07-28T14:11:36+00:00
3
+ # timestamp: 2025-08-06T19:58:42+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -157,8 +157,8 @@ class CanaryStep(BaseModel):
157
157
  ...,
158
158
  description="Percentage of total traffic to be shifted to the canary release.\nThe rest will continue to go to the existing deployment",
159
159
  )
160
- pause_duration: conint(ge=0) = Field(
161
- 30,
160
+ pause_duration: Optional[conint(ge=0)] = Field(
161
+ None,
162
162
  description="Duration for which to pause the release. The release process will wait for these seconds before proceeding to the next step.\nIf this is not set, the step will pause indefinitely on this step",
163
163
  )
164
164
 
@@ -1088,11 +1088,11 @@ class TrueFoundryInteractiveLogin(BaseModel):
1088
1088
 
1089
1089
 
1090
1090
  class VolumeBrowser(BaseModel):
1091
- username: constr(regex=r"^[a-z][a-z0-9]{1,8}[a-z0-9]$") = Field(
1092
- ..., description="Username for logging in the volume browser."
1091
+ username: Optional[constr(regex=r"^[a-z][a-z0-9]{1,8}[a-z0-9]$")] = Field(
1092
+ None, description="Username for logging in the volume browser."
1093
1093
  )
1094
- password_secret_fqn: constr(regex=r"^tfy-secret:\/\/.+:.+:.+$") = Field(
1095
- ...,
1094
+ password_secret_fqn: Optional[constr(regex=r"^tfy-secret:\/\/.+:.+:.+$")] = Field(
1095
+ None,
1096
1096
  description="TFY Secret containing the password for logging in the volume browser.",
1097
1097
  )
1098
1098
  endpoint: Endpoint
@@ -1282,11 +1282,11 @@ class HealthProbe(BaseModel):
1282
1282
  1,
1283
1283
  description="Time to wait for a response from the endpoint before considering it down",
1284
1284
  )
1285
- success_threshold: conint(ge=1, le=100) = Field(
1285
+ success_threshold: conint(ge=1, le=5000) = Field(
1286
1286
  1,
1287
1287
  description="Number of successful responses from the endpoint before container is considered healthy",
1288
1288
  )
1289
- failure_threshold: conint(ge=1, le=100) = Field(
1289
+ failure_threshold: conint(ge=1, le=5000) = Field(
1290
1290
  3,
1291
1291
  description="Number of consecutive failures before the container is considered down",
1292
1292
  )
@@ -1593,6 +1593,7 @@ class BaseService(BaseModel):
1593
1593
  kustomize: Optional[Kustomize] = None
1594
1594
  liveness_probe: Optional[HealthProbe] = None
1595
1595
  readiness_probe: Optional[HealthProbe] = None
1596
+ startup_probe: Optional[HealthProbe] = None
1596
1597
  workspace_fqn: Optional[str] = Field(
1597
1598
  None, description="Fully qualified name of the workspace"
1598
1599
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.11.4
3
+ Version: 0.11.5
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
6
  Requires-Python: <3.14,>=3.8.1
@@ -30,7 +30,7 @@ Requires-Dist: requirements-parser<0.12.0,>=0.11.0
30
30
  Requires-Dist: rich-click<2.0.0,>=1.2.1
31
31
  Requires-Dist: rich<14.0.0,>=13.7.1
32
32
  Requires-Dist: tqdm<5.0.0,>=4.0.0
33
- Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.9
33
+ Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.10
34
34
  Requires-Dist: typing-extensions>=4.0
35
35
  Requires-Dist: urllib3<3,>=1.26.18
36
36
  Requires-Dist: yq<4.0.0,>=3.1.0
@@ -54,7 +54,7 @@ truefoundry/common/utils.py,sha256=P0FuAadoJGdpieUORLSN-PiFnkyoGO-K2cS4OPITBWg,6
54
54
  truefoundry/common/warnings.py,sha256=xDMhR_-ZGC40Ycaj6nlFb5MYPexn8WbKCHd4FlflTXQ,705
55
55
  truefoundry/deploy/__init__.py,sha256=sP-6Nv-_uV2o3knWcNSGV07j_Hkq0lfUkfZffBg-Hfo,2874
56
56
  truefoundry/deploy/python_deploy_codegen.py,sha256=k19_m5DGsUyjOUCSKwIVP8vDna2sq01tHABsUfoVpW4,8019
57
- truefoundry/deploy/_autogen/models.py,sha256=oOBwFb7qumBz1XXllns8wL02-NVvYq5iOOGZlEP3BzU,75893
57
+ truefoundry/deploy/_autogen/models.py,sha256=e75fSAlUJhPW3IN9Lg3ogSnCR9crIuHAsZaDSCNvkS0,75977
58
58
  truefoundry/deploy/builder/__init__.py,sha256=VR07ZB7ziONEBbVgg1JdRTWY7t4qJjJTMhc2VodXYdA,5036
59
59
  truefoundry/deploy/builder/constants.py,sha256=amUkHoHvVKzGv0v_knfiioRuKiJM0V0xW0diERgWiI0,508
60
60
  truefoundry/deploy/builder/docker_service.py,sha256=sm7GWeIqyrKaZpxskdLejZlsxcZnM3BTDJr6orvPN4E,3948
@@ -386,7 +386,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
386
386
  truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
387
387
  truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
388
388
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
389
- truefoundry-0.11.4.dist-info/METADATA,sha256=RD0XhZ5hvcV7BAguapQ9yYssfoEDIXwNUi11w5riKtc,2759
390
- truefoundry-0.11.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
391
- truefoundry-0.11.4.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
392
- truefoundry-0.11.4.dist-info/RECORD,,
389
+ truefoundry-0.11.5.dist-info/METADATA,sha256=BUNv9InD1VRtqlp8rb4eQkqKpCUgKQfFsrq9OjTgm9Q,2760
390
+ truefoundry-0.11.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
391
+ truefoundry-0.11.5.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
392
+ truefoundry-0.11.5.dist-info/RECORD,,