xdevplatform / twitter-python-ads-sdk

A Twitter supported and maintained Ads API SDK for Python.
https://twitterdev.github.io/twitter-python-ads-sdk/
MIT License
189 stars 106 forks source link

how to iterate though cursors #259

Closed arammaliachi closed 4 years ago

arammaliachi commented 4 years ago

I get the following error while trying to iterate cursors using the __fetch_next method.

AttributeError: 'Cursor' object has no attribute '__fetch_next'

arammaliachi commented 4 years ago

my bad, was not familiar with the next variable, so cursors are iterable with regular loops