Closed kyrlon closed 3 years ago
A quick hotfix is to simply call list on the generator.
list(ex)
print(ex)
[<gkeepapi.node.List ...51EFF9910>]
Thanks for the notice! I've updated the docstring in question to say Generator
instead (I'm not sure if that's the correct syntax, but it's what Python 3's typing
module exposes, at least).
Adapted from the Searching for Notes section, when attempting to running a search, my return object is a generator object:
My assumption that it would be a return list object as stated from the source code here at this line.
when running the function
keep.all()
I have no problem returning a list object.Is there something I may have overlooked?
==============================================================================
Check that you're running the newest version of the library.
If you're providing a stack trace, make sure it doesn't contain your password. No it does not.
If you're getting a KeyError or ParseException, please follow the instructions here to dump the raw data.
I am not getting a KeyError or ParseException.
Operating system
Python version