truefoundry 0.3.3__py3-none-any.whl → 0.3.4rc1__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/cli/util.py +3 -1
- truefoundry/deploy/v2/lib/deployable_patched_models.py +4 -0
- {truefoundry-0.3.3.dist-info → truefoundry-0.3.4rc1.dist-info}/METADATA +1 -1
- {truefoundry-0.3.3.dist-info → truefoundry-0.3.4rc1.dist-info}/RECORD +6 -6
- {truefoundry-0.3.3.dist-info → truefoundry-0.3.4rc1.dist-info}/WHEEL +0 -0
- {truefoundry-0.3.3.dist-info → truefoundry-0.3.4rc1.dist-info}/entry_points.txt +0 -0
truefoundry/deploy/cli/util.py
CHANGED
|
@@ -36,7 +36,9 @@ def handle_exception(exception):
|
|
|
36
36
|
)
|
|
37
37
|
elif isinstance(exception, ConnectionError):
|
|
38
38
|
print_dict_as_table_panel(
|
|
39
|
-
{
|
|
39
|
+
{
|
|
40
|
+
"Error": "Couldn't connect to TrueFoundry. Please make sure that the provided `--host` is correct."
|
|
41
|
+
},
|
|
40
42
|
title="Command Failed",
|
|
41
43
|
border_style="red",
|
|
42
44
|
)
|
|
@@ -3,6 +3,7 @@ from typing import Literal, Union
|
|
|
3
3
|
from truefoundry.deploy.auto_gen import models
|
|
4
4
|
from truefoundry.deploy.lib.model.entity import Deployment
|
|
5
5
|
from truefoundry.deploy.v2.lib.deploy import deploy_component
|
|
6
|
+
from truefoundry.deploy.v2.lib.patched_models import LocalSource
|
|
6
7
|
from truefoundry.pydantic_v1 import BaseModel, Field, conint
|
|
7
8
|
|
|
8
9
|
|
|
@@ -79,6 +80,9 @@ class Application(models.Application, DeployablePatchedModelBase):
|
|
|
79
80
|
|
|
80
81
|
class Workflow(models.Workflow, DeployablePatchedModelBase):
|
|
81
82
|
type: Literal["workflow"] = "workflow"
|
|
83
|
+
source: Union[models.RemoteSource, models.LocalSource] = Field(
|
|
84
|
+
default_factory=LocalSource
|
|
85
|
+
)
|
|
82
86
|
|
|
83
87
|
def deploy(self, workspace_fqn: str, wait: bool = True) -> Deployment:
|
|
84
88
|
from truefoundry.deploy.v2.lib.deploy_workflow import deploy_workflow
|
|
@@ -58,7 +58,7 @@ truefoundry/deploy/cli/config.py,sha256=tf8w4UfVzcC6eYkENvuuCPYt_V3sqVpO1bclORV9
|
|
|
58
58
|
truefoundry/deploy/cli/console.py,sha256=9-dMy4YPisCJQziRKTg8Qa0UJnOGl1soiUnJjsnLDvE,242
|
|
59
59
|
truefoundry/deploy/cli/const.py,sha256=dVHPo1uAiDSSMXwXoT2mR5kNQjExT98QNVRz98Hz_Ts,510
|
|
60
60
|
truefoundry/deploy/cli/display_util.py,sha256=gq8EBdpBMHUzYQp_hxOg9EOYi08FIHgOVFCqXqC2tuo,3044
|
|
61
|
-
truefoundry/deploy/cli/util.py,sha256=
|
|
61
|
+
truefoundry/deploy/cli/util.py,sha256=0bc0jUjfnxLfAblDt4D4DroCw7aTgnxvIvkElBZscDU,3550
|
|
62
62
|
truefoundry/deploy/core/__init__.py,sha256=j61bMWj4BkWihdssKMSFhieo7afJDtpc7qO7zk1rDB4,140
|
|
63
63
|
truefoundry/deploy/core/login.py,sha256=N2VrW3nlBzoyoYulkipxwQvCpjBhi3sfsmhxK1ktWhg,236
|
|
64
64
|
truefoundry/deploy/core/logout.py,sha256=TpWLq4_DsxYS5GX2OJQGDhekNOfiOLb-vO5khQueHXw,80
|
|
@@ -104,7 +104,7 @@ truefoundry/deploy/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
104
104
|
truefoundry/deploy/v2/lib/__init__.py,sha256=WEiVMZXOVljzEE3tpGJil14liIn_PCDoACJ6b3tZ6sI,188
|
|
105
105
|
truefoundry/deploy/v2/lib/deploy.py,sha256=o0bOpXuYV9-AvyMaTYnPc3Gy3vjeN3ZP7F8r3nFzxjk,12001
|
|
106
106
|
truefoundry/deploy/v2/lib/deploy_workflow.py,sha256=WhlrBuRf7r83qoQdTZSQzHt635fw9D4_qQIqusFWGag,12372
|
|
107
|
-
truefoundry/deploy/v2/lib/deployable_patched_models.py,sha256=
|
|
107
|
+
truefoundry/deploy/v2/lib/deployable_patched_models.py,sha256=ShEXd-bKFqpEfaTwozwXREFmVhRcUQUKnRqiw5ELKN4,3316
|
|
108
108
|
truefoundry/deploy/v2/lib/models.py,sha256=pSolLMTArDuYpeNsmeeS5DWliloN_iCDfZSpRllMHUg,1120
|
|
109
109
|
truefoundry/deploy/v2/lib/patched_models.py,sha256=qL3N7y6zf7jywx6uY-yMxsH65NB367V_82o47ZYJt1I,13820
|
|
110
110
|
truefoundry/deploy/v2/lib/source.py,sha256=VHKuFREiixUP40D3Mrz-TA70spu1M0RbCzl--qwlFaY,9263
|
|
@@ -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.4rc1.dist-info/METADATA,sha256=vcMB-YktAJBiqd1fXHa_5a50zRgGrrLX9oOy0rbb1Qo,2693
|
|
134
|
+
truefoundry-0.3.4rc1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
135
|
+
truefoundry-0.3.4rc1.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
|
|
136
|
+
truefoundry-0.3.4rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|