Skip to content

Commit 979a1c1

Browse files
committed
Add bundle_id setter for project deployer
1 parent a0139bf commit 979a1c1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

dataikuapi/dss/projectdeployer.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,16 @@ def get_raw(self):
367367
@property
368368
def bundle_id(self):
369369
"""
370-
Gets the bundle id currently used by this deployment.
371-
372-
:rtype: str
370+
Gets or sets the bundle id currently used by this deployment. When setting, you need to call
371+
:meth:`~dataikuapi.dss.projectdeployer.DSSProjectDeployerDeploymentSettings.save` afterward for the change to be
372+
effective.
373373
"""
374374
return self.settings["bundleId"]
375375

376+
@bundle_id.setter
377+
def bundle_id(self, new_bundle_id):
378+
self.settings["bundleId"] = new_bundle_id
379+
376380
def save(self):
377381
"""
378382
Saves back these settings to the deployment

0 commit comments

Comments
 (0)