code: def before_app_request(self, func: Callable) -> Callable:
          
          self.record_once(lambda state: state.app.before_request(func))
          return func
docs: Add a before request function to the app.
  
          This is designed to be used as a decorator, and has the same arguments
          as :meth:`~quart.Quart.before_request`. It applies to all requests to the
          app this blueprint is registered on. An example usage,
  
          .. code-block:: python
  
              blueprint = Blueprint(__name__)
              @blueprint.before_app_request
              def before():
                  ...