MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / copy

Method copy

21-async/mojifinder/bottle.py:1362–1364  ·  view source on GitHub ↗

Return a new :class:`Request` with a shallow :attr:`environ` copy.

(self)

Source from the content-addressed store, hash-verified

1360 return route[0] if route else None
1361
1362 def copy(self):
1363 """ Return a new :class:`Request` with a shallow :attr:`environ` copy. """
1364 return Request(self.environ.copy())
1365
1366 def get(self, value, default=None): return self.environ.get(value, default)
1367 def __getitem__(self, key): return self.environ[key]

Callers 9

redirectFunction · 0.45
runFunction · 0.45
__init__Method · 0.45
global_configMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
_includeMethod · 0.45
executeMethod · 0.45
wrapperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected