Пример #1
0
 def __init__(self, context_config: Dict[str, Any], environ: Dict[str, str]):
     RequestContext.__init__(self, context_config)
     pyramid.request.Request.__init__(self, environ)
Пример #2
0
 def __init__(self, *args: Any, **kwargs: Any) -> None:
     context_config = kwargs.pop("context_config", None)
     RequestContext.__init__(self, context_config=context_config)
     pyramid.request.Request.__init__(self, *args, **kwargs)