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

Method __len__

impit-python/python/impit/cookies.py:157–159  ·  view source on GitHub ↗

Return the number of cookies in the jar.

(self)

Source from the content-addressed store, hash-verified

155 return self.delete(name)
156
157 def __len__(self) -> int:
158 """Return the number of cookies in the jar."""
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."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected