stashy
stashy copied to clipboard
bitBucket.projects[project['key']].repos[repo.get('slug')].commits('2020-03-03','2020-02-02') not working
When i am trying to execute above method it is throwing
"<generator object ResourceBase.paginate at 0x00000201C0241A48>"
rather extracting actual commit
you've got iterator, just iterate over the output using for loop
for commit in bitBucket.projects[project['key']].repos[repo.get('slug')].commits('2020-03-03','2020-02-02').all():
print(commit)