MCPcopy
hub / github.com/pallets/werkzeug / _next_chunk

Method _next_chunk

src/werkzeug/wsgi.py:390–397  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

388 return self
389
390 def _next_chunk(self) -> bytes:
391 try:
392 chunk = next(self.iterable)
393 self.read_length += len(chunk)
394 return chunk
395 except StopIteration:
396 self.end_reached = True
397 raise
398
399 def _first_iteration(self) -> tuple[bytes | None, int]:
400 chunk = None

Callers 2

_first_iterationMethod · 0.95
_nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected