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