MCPcopy Create free account
hub / github.com/apify/impit / __iter__

Method __iter__

impit-python/python/impit/cookies.py:161–163  ·  view source on GitHub ↗

Return an iterator over the names of the cookies in the jar.

(self)

Source from the content-addressed store, hash-verified

159 return len(self.jar)
160
161 def __iter__(self) -> typing.Iterator[str]:
162 """Return an iterator over the names of the cookies in the jar."""
163 return (cookie.name for cookie in self.jar)
164
165 def __bool__(self) -> bool:
166 """Return True if there are any cookies in the jar."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected