We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried putting it to a list but that didn't work
The text was updated successfully, but these errors were encountered:
nearby_users() now returns a generator. Use next() to retrieve the next item inside it. https://docs.python.org/2/library/functions.html#next
next()
Sorry, something went wrong.
I'm getting stuck on waiting for a response from the api when I call next(users). I modified sessions.py to this:
print("before response) response = self._api.recs(limit) print("after response")
users = session.nearby_users() #executes fine next(users)
I encountered the same bug. I cannot see neaby_users at all.
One way to loop a generator (im new to python so please correct me if im wrong) :
users = session.matches() for user in users:
No branches or pull requests
I tried putting it to a list but that didn't work
The text was updated successfully, but these errors were encountered: