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

Method __iter__

impit-python/src/response.rs:29–31  ·  view source on GitHub ↗
(slf: PyRef<'_, Self>)

Source from the content-addressed store, hash-verified

27#[pymethods]
28impl PyResponseBytesIterator {
29 fn __iter__(slf: PyRef<'_, Self>) -> PyRef<'_, Self> {
30 slf
31 }
32
33 fn __next__(mut slf: PyRefMut<'_, Self>) -> PyResult<Option<Vec<u8>>> {
34 if let Some(content) = slf.ready_content.take() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected