truefoundry 0.3.0rc15__py3-none-any.whl → 0.3.1__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.

@@ -247,9 +247,16 @@ def deploy_component(
247
247
  )
248
248
  component.workspace_fqn = workspace_fqn
249
249
  workspace_id = get_workspace_by_fqn(workspace_fqn).id
250
- updated_component = _handle_if_local_source(
251
- component=component, workspace_fqn=workspace_fqn
252
- )
250
+ if isinstance(component, auto_gen_models.ApplicationSet):
251
+ updated_component = component.copy(deep=True)
252
+ for i in range(len(updated_component.components)):
253
+ updated_component.components[i] = _handle_if_local_source(
254
+ component=component.components[i], workspace_fqn=workspace_fqn
255
+ )
256
+ else:
257
+ updated_component = _handle_if_local_source(
258
+ component=component, workspace_fqn=workspace_fqn
259
+ )
253
260
  client = ServiceFoundryServiceClient()
254
261
  response = client.deploy_application(
255
262
  workspace_id=workspace_id, application=updated_component
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.3.0rc15
3
+ Version: 0.3.1
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -102,7 +102,7 @@ truefoundry/deploy/lib/util.py,sha256=sNMv9peDU7RTCDaAfyWPpPpCs_WcZGqOvc13Jqx9y6
102
102
  truefoundry/deploy/lib/win32.py,sha256=1RcvPTdlOAJ48rt8rCbE2Ufha2ztRqBAE9dueNXArrY,5009
103
103
  truefoundry/deploy/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  truefoundry/deploy/v2/lib/__init__.py,sha256=WEiVMZXOVljzEE3tpGJil14liIn_PCDoACJ6b3tZ6sI,188
105
- truefoundry/deploy/v2/lib/deploy.py,sha256=vmaevT86nfrgephRjinhSVFEZHVc9R09vZBKKUoeUWI,11640
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
107
  truefoundry/deploy/v2/lib/deployable_patched_models.py,sha256=YVeTiasyf0s-QXjDqdvGSmN83oVAQ0h9g6F687PJyVI,3141
108
108
  truefoundry/deploy/v2/lib/models.py,sha256=pSolLMTArDuYpeNsmeeS5DWliloN_iCDfZSpRllMHUg,1120
@@ -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.0rc15.dist-info/METADATA,sha256=31ztTRk4oHRnyjZpc8yXiU_cDG2VfWOV6YfgZF-DRNw,2694
134
- truefoundry-0.3.0rc15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
135
- truefoundry-0.3.0rc15.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
136
- truefoundry-0.3.0rc15.dist-info/RECORD,,
133
+ truefoundry-0.3.1.dist-info/METADATA,sha256=yVpfvpY3Hqp1pXxQ8XdDgSdpNle2XjHJYWFKVALUtSQ,2690
134
+ truefoundry-0.3.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
135
+ truefoundry-0.3.1.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
136
+ truefoundry-0.3.1.dist-info/RECORD,,