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

Function generate_items

tests/test_wrappers.py:960–962  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

958 return headers.get("content-length", type=int)
959
960 def generate_items():
961 yield "Hello "
962 yield "Wörld!"
963
964 # werkzeug encodes when set to `data` now, which happens
965 # if a string is passed to the response object.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected