truefoundry 0.7.1__py3-none-any.whl → 0.7.2__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.

@@ -100,13 +100,13 @@ def create_truefoundry_cli() -> click.Group:
100
100
  cli.add_command(get_terminate_command())
101
101
  cli.add_command(get_ml_cli())
102
102
  cli.add_command(get_get_command())
103
+ cli.add_command(get_ask_command())
103
104
 
104
105
  if not (sys.platform.startswith("win32") or sys.platform.startswith("cygwin")):
105
106
  cli.add_command(get_patch_command())
106
107
 
107
108
  if is_internal_env_set():
108
109
  cli.add_command(get_build_command())
109
- cli.add_command(get_ask_command())
110
110
  return cli
111
111
 
112
112
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: application.json
3
- # timestamp: 2025-04-21T06:26:10+00:00
3
+ # timestamp: 2025-05-03T01:45:46+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1485,6 +1485,10 @@ class WorkflowAlert(BaseModel):
1485
1485
  """
1486
1486
 
1487
1487
  notification_target: Optional[Union[Email, SlackWebhook, SlackBot]] = None
1488
+ events: List[WorkflowEvent] = Field(
1489
+ ...,
1490
+ description="Specify the events to send alerts for, it should be one of the following: SUCCEEDED, FAILED, ABORTED, TIMED_OUT",
1491
+ )
1488
1492
  on_completion: bool = Field(
1489
1493
  False, description="Send an alert when the job completes"
1490
1494
  )
@@ -1552,10 +1556,12 @@ class JobAlert(BaseModel):
1552
1556
  description="List of recipients' email addresses if the notification channel is Email.",
1553
1557
  )
1554
1558
  notification_target: Optional[Union[Email, SlackWebhook, SlackBot]] = None
1555
- on_start: bool = Field(False, description="Send an alert when the job starts")
1556
- on_completion: bool = Field(
1557
- False, description="Send an alert when the job completes"
1559
+ events: List[JobEvent] = Field(
1560
+ ...,
1561
+ description="Specify the events to send alerts for, it should be one of the following: START, SUCCEEDED, FAILED, TERMINATED",
1558
1562
  )
1563
+ on_start: bool = Field(False, description="Send an alert when the job starts")
1564
+ on_completion: bool = False
1559
1565
  on_failure: bool = Field(True, description="Send an alert when the job fails")
1560
1566
 
1561
1567
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
6
  Requires-Python: <3.14,>=3.8.1
@@ -14,7 +14,7 @@ Requires-Dist: gitpython<4.0.0,>=3.1.43
14
14
  Requires-Dist: importlib-metadata<9.0.0,>=4.11.3
15
15
  Requires-Dist: importlib-resources<7.0.0,>=5.2.0
16
16
  Requires-Dist: mako<2.0.0,>=1.1.6
17
- Requires-Dist: mcp==1.6.0; python_version >= '3.10'
17
+ Requires-Dist: mcp==1.7.1; python_version >= '3.10'
18
18
  Requires-Dist: numpy<3.0.0,>=1.23.0
19
19
  Requires-Dist: openai<2.0.0,>=1.16.2
20
20
  Requires-Dist: packaging<26.0,>=20.0
@@ -28,7 +28,7 @@ truefoundry/autodeploy/utils/client.py,sha256=PvbSkfgAjAogGjisinqmh4mP4svowxAC0I
28
28
  truefoundry/autodeploy/utils/diff.py,sha256=Ef8Y-VffDKel_-q-GxRam6gqiv8qTLMcqVg6iifXfcA,5358
29
29
  truefoundry/autodeploy/utils/pydantic_compat.py,sha256=hEAUy5kLjhPdzw7yGZ2iXGMXbbMVXVlGzIofmyHafXQ,412
30
30
  truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- truefoundry/cli/__main__.py,sha256=DUEAL34G8EHchlgJ38pXyVvXa-AmHu498s2JRK0m1xY,3980
31
+ truefoundry/cli/__main__.py,sha256=k9wgXDoUOYdsK5Ply_GpDV-Ns4DNn0jRKNUQSCRnZ-0,3976
32
32
  truefoundry/cli/config.py,sha256=f7z0_gmYZiNImB7Bxz0AnOlrxY2X4lFnX4jYW1I7NHQ,139
33
33
  truefoundry/cli/console.py,sha256=9-dMy4YPisCJQziRKTg8Qa0UJnOGl1soiUnJjsnLDvE,242
34
34
  truefoundry/cli/const.py,sha256=dVHPo1uAiDSSMXwXoT2mR5kNQjExT98QNVRz98Hz_Ts,510
@@ -50,7 +50,7 @@ truefoundry/common/utils.py,sha256=j3QP0uOsaGD_VmDDR68JTwoYE1okkAq6OqpVkzVf48Q,6
50
50
  truefoundry/common/warnings.py,sha256=rs6BHwk7imQYedo07iwh3TWEOywAR3Lqhj0AY4khByg,504
51
51
  truefoundry/deploy/__init__.py,sha256=6D22iiCgd5xlzBaG34q9Cx4rGgwf5qIAKQrOCgaCXYY,2746
52
52
  truefoundry/deploy/python_deploy_codegen.py,sha256=AainOFR20XvhNeztJkLPWGZ40lAT_nwc-ZmG77Kum4o,6525
53
- truefoundry/deploy/_autogen/models.py,sha256=yIGmwEptVUIM1R5DOL8JYp2-8T-YDDumADS4ZAFoEcI,71727
53
+ truefoundry/deploy/_autogen/models.py,sha256=p6sZVLmrFbzujNW6PzjGbPA1OiNhq5TgX5tH0evJvRE,72038
54
54
  truefoundry/deploy/builder/__init__.py,sha256=nGQiR3r16iumRy7xbVQ6q-k0EApmijspsfVpXDE-9po,4953
55
55
  truefoundry/deploy/builder/constants.py,sha256=amUkHoHvVKzGv0v_knfiioRuKiJM0V0xW0diERgWiI0,508
56
56
  truefoundry/deploy/builder/docker_service.py,sha256=sm7GWeIqyrKaZpxskdLejZlsxcZnM3BTDJr6orvPN4E,3948
@@ -376,7 +376,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
376
376
  truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
377
377
  truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
378
378
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
379
- truefoundry-0.7.1.dist-info/METADATA,sha256=4KsZYBQ-LTd9M5DCjkvwMBjFr1bA61NJl14L5IiwsuI,2459
380
- truefoundry-0.7.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
381
- truefoundry-0.7.1.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
382
- truefoundry-0.7.1.dist-info/RECORD,,
379
+ truefoundry-0.7.2.dist-info/METADATA,sha256=wjXiGA-c9eUYLeH9Qcy2QfYLBmi9FOa1j-R5AABgtgg,2459
380
+ truefoundry-0.7.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
381
+ truefoundry-0.7.2.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
382
+ truefoundry-0.7.2.dist-info/RECORD,,