Skip to content

Commit 5a87e51

Browse files
committed
project: change get_timeline() item_count param
1 parent 71a71e9 commit 5a87e51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dataikuapi/dss/project.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ def get_interest(self):
260260
"""
261261
return self.client._perform_json("GET","/projects/%s/interest" % self.project_key)
262262

263-
def get_timeline(self, itemCount=100):
263+
def get_timeline(self, item_count=100):
264264
"""
265265
Get the timeline of this project. The timeline consists of information about the creation of this project
266266
(by whom, and when), the last modification of this project (by whom and when), a list of contributors,
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.
267+
and a list of modifications. This list of modifications contains a maximum of `item_count` elements (default: 100).
268+
If `item_count` is greater than the real number of modification, `item_count` is adjusted.
269269
270270
:return: a dict object containing a timeline where the top-level fields are :
271271
- allContributors: all contributors who have been involve in this project
@@ -277,7 +277,7 @@ def get_timeline(self, itemCount=100):
277277
:rtype: dict
278278
"""
279279
return self.client._perform_json("GET", "/projects/%s/timeline" % self.project_key, params = {
280-
"itemCount": itemCount
280+
"itemCount": item_count
281281
})
282282

283283
########################################################

0 commit comments

Comments
 (0)