RequestContext#
- class mobu.dependencies.context.RequestContext(request, logger, manager, repo_manager, factory)#
Bases:
objectHolds the incoming request and its surrounding context.
- Parameters:
request (
Request)logger (
BoundLogger)manager (
FlockManager)repo_manager (
RepoManager)factory (
Factory)
Attributes Summary
Component factory.
Request logger, rebound with discovered context.
Global singleton flock manager.
Global singleton git repo manager.
Incoming request.
Methods Summary
rebind_logger(**values)Add the given values to the logging context.
Attributes Documentation
-
logger:
BoundLogger# Request logger, rebound with discovered context.
-
manager:
FlockManager# Global singleton flock manager.
-
repo_manager:
RepoManager# Global singleton git repo manager.
-
request:
Request# Incoming request.
Methods Documentation