MCPcopy
hub / github.com/pallets/flask / _copy_environ

Method _copy_environ

src/flask/testing.py:185–191  ·  view source on GitHub ↗
(self, other: WSGIEnvironment)

Source from the content-addressed store, hash-verified

183 )
184
185 def _copy_environ(self, other: WSGIEnvironment) -> WSGIEnvironment:
186 out = {**self.environ_base, **other}
187
188 if self.preserve_context:
189 out["werkzeug.debug.preserve_context"] = self._new_contexts.append
190
191 return out
192
193 def _request_from_builder_args(
194 self, args: tuple[t.Any, ...], kwargs: dict[str, t.Any]

Callers 2

openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected