Skip to content

Commit edb5367

Browse files
committed
doc: documentation changed
1 parent 98142f5 commit edb5367

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

dataikuapi/dss/project.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def get_interest(self):
253253
"""
254254
Get the interest of this project. The interest means the number of watchers and the number of star.
255255
256-
:return: a dict object containing the project's interest
256+
:returns: a dict object containing the interest of the project with two fields:
257+
- starCount: number of star for this project
258+
- watchCount: number of users watching this project
257259
:rtype: dict
258260
"""
259261
return self.client._perform_json("GET","/projects/%s/interest" % self.project_key)
@@ -262,10 +264,16 @@ def get_timeline(self, itemCount=100):
262264
"""
263265
Get a timeline of this project. The timeline consists of information about the creation of this project
264266
(by whom, and when), the last modification of this project (by whom and when), a list of contributors,
265-
and a list of modification. This list contains "itemCount" number of element (default: 100). If itemCount
266-
is greater than the real number of modification, itemCount is adjusted.
267-
268-
:return: a dict object containing a timeline
267+
and a list of modifications. This list of modifications contains a maximum of itemCount elements (default: 100).
268+
If itemCount is greater than the real number of modification, itemCount is adjusted.
269+
270+
:return: a dict object containing a timeline where the top-level fields are :
271+
- allContributors: all contributors who have been involve in this project
272+
- items: a history of the modifications of the project
273+
- createdBy: who created this project
274+
- createdOn: when the project was created
275+
- lastModifiedBy: who modified this project for the last time
276+
- lastModifiedBy: when this modification took place
269277
:rtype: dict
270278
"""
271279
return self.client._perform_json("GET", "/projects/%s/timeline" % self.project_key, params = {

0 commit comments

Comments
 (0)