Skip to content

Commit 8b4fe30

Browse files
author
Agathe Guillemot
committed
Add description of returned dict by publish_bundle
1 parent 54a1eb5 commit 8b4fe30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dataikuapi/dss/project.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,10 @@ def publish_bundle(self, bundle_id, published_project_key=None):
980980
:param string published_project_key: The key of the project on the Project Deployer where the bundle will be published.
981981
A new published project will be created if none matches the key.
982982
If the parameter is not set, the key from the current :class:`DSSProject` is used.
983+
984+
:rtype: dict
985+
:return: a dict with info on the bundle state once published. It contains the keys "publishedOn" for the date on which the publication was done,
986+
"publishedBy" for the user whom performed it, "publishedProjectKey" for the key of the Project Deployer project used.
983987
"""
984988
params = None
985989
if published_project_key is not None:

0 commit comments

Comments
 (0)