MCPcopy
hub / github.com/Pylons/pyramid / __call__

Method __call__

tests/test_router.py:76–89  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

74 self.root = root
75
76 def __call__(self, request):
77 if raise_error:
78 raise raise_error
79 values = {
80 'root': self.root,
81 'context': context,
82 'view_name': view_name,
83 'subpath': subpath,
84 'traversed': traversed,
85 'virtual_root': virtual_root,
86 'virtual_root_path': virtual_root_path,
87 }
88 kw.update(values)
89 return kw
90
91 self.registry.registerAdapter(
92 DummyTraverserFactory, (None,), ITraverser, name=''

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected