truefoundry 0.3.0rc3__py3-none-any.whl → 0.3.0rc5__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.

@@ -600,14 +600,12 @@ class ServiceFoundryServiceClient:
600
600
  def trigger_job(
601
601
  self,
602
602
  deployment_id: str,
603
- component_name: str,
604
603
  command: Optional[str] = None,
605
604
  params: Optional[Dict[str, str]] = None,
606
605
  ) -> TriggerJobResult:
607
606
  url = f"{self._api_server_url}/{VERSION_PREFIX}/jobs/trigger"
608
607
  body = {
609
608
  "deploymentId": deployment_id,
610
- "componentName": component_name,
611
609
  "input": {},
612
610
  }
613
611
  if command:
@@ -115,7 +115,6 @@ def get_job_run(
115
115
 
116
116
  def trigger_job(
117
117
  application_fqn: str,
118
- component_name: str = None,
119
118
  command: Optional[Union[str, Sequence[str]]] = None,
120
119
  params: Optional[Dict[str, str]] = None,
121
120
  ) -> TriggerJobResult:
@@ -124,7 +123,6 @@ def trigger_job(
124
123
 
125
124
  Args:
126
125
  application_fqn: Fully Qualified Name of the Deployed Job (without the version number)
127
- component_name: Name of the component to trigger the job on. Required in case of type `application`, defaults to `None`.
128
126
  command: command to run the job with, defaults to `None`. Can be a `str` or `List[str]`
129
127
  When `None`, the job is triggered with configured command at the time of deployment.
130
128
  When passed as a list, the command will be joined using `shlex.join`
@@ -178,7 +176,6 @@ def trigger_job(
178
176
  message = f"Job triggered with params {params!r}"
179
177
  result = client.trigger_job(
180
178
  deployment_id=application_info.activeDeploymentId,
181
- component_name=component_name,
182
179
  command=command_str if command_str else None,
183
180
  params=params if params else None,
184
181
  )
@@ -84,6 +84,7 @@ class DeploymentTransitionStatus(str, Enum):
84
84
  DEPLOY_FAILED: str = "DEPLOY_FAILED"
85
85
  BUILD_FAILED: str = "BUILD_FAILED"
86
86
  CANCELLED: str = "CANCELLED"
87
+ COMPONENTS_DEPLOYING: str = "COMPONENTS_DEPLOYING"
87
88
  FAILED: str = "FAILED"
88
89
  REUSING_EXISTING_BUILD: str = "REUSING_EXISTING_BUILD"
89
90
  REDEPLOY_STARTED: str = "REDEPLOY_STARTED"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.3.0rc3
3
+ Version: 0.3.0rc5
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -83,12 +83,12 @@ truefoundry/deploy/lib/auth/credential_file_manager.py,sha256=DXeXWoVakfZI2Geu8F
83
83
  truefoundry/deploy/lib/auth/credential_provider.py,sha256=MwTN8170TXi7g9m2Fw4VRReZqk1DzBFG1bMVgd7jYZk,4375
84
84
  truefoundry/deploy/lib/auth/servicefoundry_session.py,sha256=2OahwRg-8l3QUwpC2iLA8lHavkeTxKXUP_0AN27HPS8,1859
85
85
  truefoundry/deploy/lib/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
- truefoundry/deploy/lib/clients/servicefoundry_client.py,sha256=3k0WNMyIYm_DCWQumPGyiaRE5vzCqK8l_S2BwCmfCOQ,26157
86
+ truefoundry/deploy/lib/clients/servicefoundry_client.py,sha256=fq7kvQa2OgTs_TobCEPC_Yy0A-g0w7enOu0jdSfTyVc,26083
87
87
  truefoundry/deploy/lib/clients/shell_client.py,sha256=tMrc0Ha1DmGtUCJrZD8eusOzfe8R_WIe6AAH7nxL0xA,461
88
88
  truefoundry/deploy/lib/clients/utils.py,sha256=rK7DrvA71kSTjy23-Bk4LTQjgViBWeHtcV_SlBLZw6M,1282
89
89
  truefoundry/deploy/lib/const.py,sha256=Yk_nXeZWzwKs-6hEXDjVDyjwEGh35T5TWaBxyJgP-Zw,1395
90
90
  truefoundry/deploy/lib/dao/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
- truefoundry/deploy/lib/dao/application.py,sha256=adHgE83ibE1Y-EezqylpZ14ZzwQDHBdRAhY7DCBXBiE,8619
91
+ truefoundry/deploy/lib/dao/application.py,sha256=I-4YicbU5tazo9JLkW9FlVpB-nRamdOliJNxApMaHJE,8419
92
92
  truefoundry/deploy/lib/dao/apply.py,sha256=sXnQY6RVzLVm1fX2BKuWHAoKlKISirrcByHEhY3x4zo,2570
93
93
  truefoundry/deploy/lib/dao/version.py,sha256=AtdW_4O1DPUKdfv2qy6iUJsZ_95vM6z0AqeEy3WDKs8,1130
94
94
  truefoundry/deploy/lib/dao/workspace.py,sha256=jm8UWytwVajVcrYyHSTCwWYDYl-RHuk0zAf9Caj4GzQ,2356
@@ -96,7 +96,7 @@ truefoundry/deploy/lib/exceptions.py,sha256=ZW44bSwmlcr3GcB10E8Jz-zlgu9wyi8tE7xA
96
96
  truefoundry/deploy/lib/logs_utils.py,sha256=SQxRv3jDDmgHdOUMhlMaAPGYskybnBUMpst7QU_i_sc,1469
97
97
  truefoundry/deploy/lib/messages.py,sha256=nhp0bCYf_XpUM68hTq5lBY-__vtEyV2uP7NgnJXJ_Vg,925
98
98
  truefoundry/deploy/lib/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
- truefoundry/deploy/lib/model/entity.py,sha256=NJhFFnwBRQVWRWNm2jL508YmcDuQSE30MVXX0j_5m70,11254
99
+ truefoundry/deploy/lib/model/entity.py,sha256=gFlSG6RVuaWQQ2v3YtONhnTbIRzKUIryMgcJN6HmZV4,11309
100
100
  truefoundry/deploy/lib/session.py,sha256=0S9foO78BXYSwCh6nPaWG-QuwgxaK4VZqzshjNkyXls,5229
101
101
  truefoundry/deploy/lib/util.py,sha256=3Pc0gQgomapTSjMQo743STShBn1B6PNdBpw3bTpdxOw,2200
102
102
  truefoundry/deploy/lib/win32.py,sha256=1RcvPTdlOAJ48rt8rCbE2Ufha2ztRqBAE9dueNXArrY,5009
@@ -119,7 +119,7 @@ truefoundry/ml/__init__.py,sha256=yFjvF-e1RW488vLHgn5M7TXoajqww6grkKHb3mhqDEw,17
119
119
  truefoundry/pydantic_v1.py,sha256=IJy5FtaPg-_H5XLRd9nueTuyijEJPdCa1vZ7-pinmRI,158
120
120
  truefoundry/python_deploy_codegen.py,sha256=hd8XRytuT-U6AXSzYSjISbtYY4HLB_B1EeLB5TRDfNw,3947
121
121
  truefoundry/version.py,sha256=-wbVGV2uJ2DVdmoji4rGfVIROKTXG5_7G6DRXjGj_fE,127
122
- truefoundry-0.3.0rc3.dist-info/METADATA,sha256=5RP2v85wwnUUfVnEfoISVQFcA2OrWlvAWLuLQHcqD3s,2633
123
- truefoundry-0.3.0rc3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
124
- truefoundry-0.3.0rc3.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
125
- truefoundry-0.3.0rc3.dist-info/RECORD,,
122
+ truefoundry-0.3.0rc5.dist-info/METADATA,sha256=TnYoFc0xOGLyOlIekYcFL5pUhiT7mVRk5ej-Gs5gX2k,2633
123
+ truefoundry-0.3.0rc5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
124
+ truefoundry-0.3.0rc5.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
125
+ truefoundry-0.3.0rc5.dist-info/RECORD,,