We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7fd5d commit 9ac6062Copy full SHA for 9ac6062
scrapinghub/client/collections.py
@@ -131,11 +131,10 @@ class Collection(object):
131
... print(elem)
132
[{'_key': '002d050ee3ff6192dcbecc4e4b4457d7', 'value': '1447221694537'}]
133
134
- - get 1000th item key::
+ - get generator over item keys::
135
136
- >>> import itertools
137
>>> keys = foo_store.iter(nodata=True, meta=["_key"]))
138
- >>> next(itertools.islice(keys, 1000, 1001))
+ >>> next(keys)
139
{'_key': '002d050ee3ff6192dcbecc4e4b4457d7'}
140
141
- filter by multiple keys, only values for keys that exist will be returned::
0 commit comments