MCPcopy Create free account
hub / github.com/apache/devlake / __iter__

Method __iter__

backend/python/pydevlake/pydevlake/api.py:262–276  ·  view source on GitHub ↗

Iterate over

(self)

Source from the content-addressed store, hash-verified

260 return next_request
261
262 def __iter__(self):
263 """
264 Iterate over
265 """
266 current = self
267
268 while True:
269 yield from current.items
270
271 next_page_request = current.next_page_request
272 if not next_page_request:
273 # No next page
274 return
275
276 current = current.api.send(current.next_page_request)
277
278 def __getattr__(self, attr_name):
279 # Delegate everything to Response

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected