code: def before_first_request(self, fn):
          
          self._defer(lambda app: app.before_first_request(fn))
          return fn
docs: Registers a function to be run before the first request to this
          instance of the application.
  
          The function will be called without any arguments and its return
          value is ignored.