Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitBucket.projects[project['key']].repos[repo.get('slug')].commits('2020-03-03','2020-02-02') not working #159

Open
dixitgargi opened this issue Jul 6, 2020 · 1 comment

Comments

@dixitgargi
Copy link

When i am trying to execute above method it is throwing

"<generator object ResourceBase.paginate at 0x00000201C0241A48>"

rather extracting actual commit

@avoidik
Copy link

avoidik commented Jul 12, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants