| | |
| | | view callable (and to other subsystems) as the ``request`` |
| | | argument. |
| | | |
| | | The documentation below (save for the ``add_response_callback`` |
| | | and ''add_finished_callback`` methods, which are defined in this |
| | | subclass itself, and the attributes ``context``, ``registry``, |
| | | ``root``, ``subpath``, ``traversed``, ``view_name``, |
| | | ``virtual_root`` , and ``virtual_root_path``, each of which is |
| | | added to the request at by the :term:`router` at request ingress |
| | | time) are autogenerated from the WebOb source code used when this |
| | | documentation was generated. |
| | | The documentation below (save for the ``add_response_callback`` and |
| | | ''add_finished_callback`` methods, which are defined in this subclass |
| | | itself, and the attributes ``context``, ``registry``, ``root``, |
| | | ``subpath``, ``traversed``, ``view_name``, ``virtual_root`` , and |
| | | ``virtual_root_path``, each of which is added to the request by the |
| | | :term:`router` at request ingress time) are autogenerated from the WebOb |
| | | source code used when this documentation was generated. |
| | | |
| | | Due to technical constraints, we can't yet display the WebOb |
| | | version number from which this documentation is autogenerated, but |
| | |
| | | # b/c dict interface for "root factory" code that expects a bare |
| | | # environ. Explicitly omitted dict methods: clear (unnecessary), |
| | | # copy (implemented by WebOb), fromkeys (unnecessary) |
| | | |
| | | |
| | | def __contains__(self, k): |
| | | return self.environ.__contains__(k) |
| | | |
| | |
| | | |
| | | def route_request_iface(name, bases=()): |
| | | iface = InterfaceClass('%s_IRequest' % name, bases=bases) |
| | | # for exception view lookups |
| | | # for exception view lookups |
| | | iface.combined = InterfaceClass('%s_combined_IRequest' % name, |
| | | bases=(iface, IRequest)) |
| | | return iface |