File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Items(_ItemsResourceProxy, _DownloadableProxyMixin):
1111 :attr:`~scrapinghub.client.jobs.Job.items` attribute.
1212
1313 Please note that :meth:`list` method can use a lot of memory and for
14- a large amount of logs it's recommended to iterate through it via
14+ a large number of items it's recommended to iterate through them via
1515 :meth:`iter` method (all params and available filters are same for
1616 both methods).
1717
@@ -24,8 +24,8 @@ class Items(_ItemsResourceProxy, _DownloadableProxyMixin):
2424
2525 - iterate through first 100 items and print them::
2626
27- >>> for log in job.logs .iter(count=100):
28- ... print(log )
27+ >>> for item in job.items .iter(count=100):
28+ ... print(item )
2929
3030 - retrieve items with timestamp greater or equal to given timestamp
3131 (item here is an arbitrary dictionary depending on your code)::
You can’t perform that action at this time.
0 commit comments