truefoundry 0.3.2__py3-none-any.whl → 0.3.3__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.
- truefoundry/deploy/auto_gen/models.py +29 -1
- truefoundry/python_deploy_codegen.py +1 -0
- {truefoundry-0.3.2.dist-info → truefoundry-0.3.3.dist-info}/METADATA +1 -1
- {truefoundry-0.3.2.dist-info → truefoundry-0.3.3.dist-info}/RECORD +6 -6
- {truefoundry-0.3.2.dist-info → truefoundry-0.3.3.dist-info}/WHEEL +0 -0
- {truefoundry-0.3.2.dist-info → truefoundry-0.3.3.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: application.json
|
|
3
|
-
# timestamp: 2024-09-
|
|
3
|
+
# timestamp: 2024-09-19T11:05:06+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -444,6 +444,30 @@ class Image(BaseModel):
|
|
|
444
444
|
)
|
|
445
445
|
|
|
446
446
|
|
|
447
|
+
class JobAlert(BaseModel):
|
|
448
|
+
"""
|
|
449
|
+
+docs=Describes the configuration for the job alerts
|
|
450
|
+
+label=Alert
|
|
451
|
+
"""
|
|
452
|
+
|
|
453
|
+
notification_channel: str = Field(
|
|
454
|
+
...,
|
|
455
|
+
description='+label=Notification Channel\n+usage=Specify the notification channel to send alerts to\n+uiType=IntegrationSelect\n+uiProps={"integrationType":"notification-channel"}\n+sort=660',
|
|
456
|
+
)
|
|
457
|
+
on_start: bool = Field(
|
|
458
|
+
False,
|
|
459
|
+
description="+label=On Start\n+usage=Send an alert when the job starts\n+sort=670",
|
|
460
|
+
)
|
|
461
|
+
on_completion: bool = Field(
|
|
462
|
+
False,
|
|
463
|
+
description="+label=On Completion\n+usage=Send an alert when the job completes\n+sort=680",
|
|
464
|
+
)
|
|
465
|
+
on_failure: bool = Field(
|
|
466
|
+
True,
|
|
467
|
+
description="+label=On Failure\n+usage=Send an alert when the job fails\n+sort=690",
|
|
468
|
+
)
|
|
469
|
+
|
|
470
|
+
|
|
447
471
|
class KafkaMetricConfig(BaseModel):
|
|
448
472
|
type: Literal["kafka"] = Field(..., description="+value=kafka")
|
|
449
473
|
lag_threshold: conint(ge=1) = Field(
|
|
@@ -1350,6 +1374,10 @@ class Job(BaseModel):
|
|
|
1350
1374
|
description="+label=Environment Variables\n+usage=Configure environment variables to be injected in the service either as plain text or secrets. [Docs](https://docs.truefoundry.com/docs/env-variables)\n+icon=fa-globe\n+sort=500",
|
|
1351
1375
|
)
|
|
1352
1376
|
resources: Optional[Resources] = None
|
|
1377
|
+
alerts: Optional[List[JobAlert]] = Field(
|
|
1378
|
+
None,
|
|
1379
|
+
description="+label=Alerts\n+usage=Configure alerts to be sent when the job starts/fails/completes\n+icon=fa-bell\n+sort=650",
|
|
1380
|
+
)
|
|
1353
1381
|
retries: conint(ge=0, le=10) = Field(
|
|
1354
1382
|
0,
|
|
1355
1383
|
description="+label=Retries\n+usage=Specify the maximum number of attempts to retry a job before it is marked as failed.\n+icon=fa-repeat\n+sort=700",
|
|
@@ -26,7 +26,7 @@ truefoundry/autodeploy/utils/pydantic_compat.py,sha256=hEAUy5kLjhPdzw7yGZ2iXGMXb
|
|
|
26
26
|
truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
truefoundry/cli/__main__.py,sha256=Jap_IddZ9zNyMIyIkCw75xHQCN0WtV2dPZJ_pzdLsVc,916
|
|
28
28
|
truefoundry/deploy/__init__.py,sha256=ugawKF2G02EmEXX35oZ2tec12d9oWN28Sf6mtGGIERY,2281
|
|
29
|
-
truefoundry/deploy/auto_gen/models.py,sha256=
|
|
29
|
+
truefoundry/deploy/auto_gen/models.py,sha256=YhvSvYruchLu4jx9UgKUUWJRekgbdEfVHLhdAkbvHMw,79990
|
|
30
30
|
truefoundry/deploy/builder/__init__.py,sha256=a1qR6nicHGcxRaeNTxWRsmDs8zsmXc7j13-I8q0qqVk,4938
|
|
31
31
|
truefoundry/deploy/builder/builders/__init__.py,sha256=tlFLXqyDaKLd4iZbo4Hcu_8gOmgtL6drnXpbmQ6x1P8,636
|
|
32
32
|
truefoundry/deploy/builder/builders/dockerfile.py,sha256=AXXTziCkaqIhuM_bwyD1vT1znOwemN1TKgU7eyo-KuM,1522
|
|
@@ -117,7 +117,7 @@ truefoundry/langchain/utils.py,sha256=XIDpvz3zXpRLeyxLizacqLVDakUJYQZUoXRS1m-tMf
|
|
|
117
117
|
truefoundry/logger.py,sha256=7dLqW_Q2rEgo-_z1WZnQbGHaoy1L1MP3NqGgssaSS6o,685
|
|
118
118
|
truefoundry/ml/__init__.py,sha256=yFjvF-e1RW488vLHgn5M7TXoajqww6grkKHb3mhqDEw,179
|
|
119
119
|
truefoundry/pydantic_v1.py,sha256=IJy5FtaPg-_H5XLRd9nueTuyijEJPdCa1vZ7-pinmRI,158
|
|
120
|
-
truefoundry/python_deploy_codegen.py,sha256=
|
|
120
|
+
truefoundry/python_deploy_codegen.py,sha256=SoXIyPKLCA-VxUlUKt9ZmSrNPVTzHwZISOSZQNf-nUc,4022
|
|
121
121
|
truefoundry/version.py,sha256=bqiT4Q-VWrTC6P4qfK43mez-Ppf-smWfrl6DcwV7mrw,137
|
|
122
122
|
truefoundry/workflow/__init__.py,sha256=m0puY8RJ3GBvdAXW0A9PLuCpmDdLqh6eF0t3DCEpZkg,659
|
|
123
123
|
truefoundry/workflow/container_task.py,sha256=8arieePsX4__OnG337hOtCiNgJwtKJJCsZcmFmCBJtk,402
|
|
@@ -130,7 +130,7 @@ truefoundry/workflow/map_task.py,sha256=2m3qGXQ90k9LdS45q8dqCCECc3qr8t2m_LMCVd1m
|
|
|
130
130
|
truefoundry/workflow/python_task.py,sha256=SRXRLC4vdBqGjhkwuaY39LEWN6iPCpJAuW17URRdWTY,1128
|
|
131
131
|
truefoundry/workflow/task.py,sha256=ToitYiKcNzFCtOVQwz1W8sRjbR97eVS7vQBdbgUQtKg,1779
|
|
132
132
|
truefoundry/workflow/workflow.py,sha256=WaTqUjhwfAXDWu4E5ehuwAxrCbDJkoAf1oWmR2E9Qy0,4575
|
|
133
|
-
truefoundry-0.3.
|
|
134
|
-
truefoundry-0.3.
|
|
135
|
-
truefoundry-0.3.
|
|
136
|
-
truefoundry-0.3.
|
|
133
|
+
truefoundry-0.3.3.dist-info/METADATA,sha256=7d016o0q4MKuad7mbPMg2ZKzPlXGtk4GuffjyEE13K0,2690
|
|
134
|
+
truefoundry-0.3.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
135
|
+
truefoundry-0.3.3.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
|
|
136
|
+
truefoundry-0.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|