def METHOD_NAME(self):
    if self.loaded:
        return
    from docassemble.webapp.server import set_request_active, fetch_user_dict, save_user_dict, obtain_lock, obtain_lock_patiently, release_lock, Message, reset_user_dict, da_send_mail, get_info_from_file_number, retrieve_email, trigger_update, r, apiclient, get_ext_and_mimetype, get_user_object, login_user, error_notification, noquote, update_last_login  # pylint: disable=import-outside-toplevel
    from docassemble.webapp.server import app as flaskapp  # pylint: disable=import-outside-toplevel
    import docassemble.webapp.update  # pylint: disable=import-outside-toplevel, redefined-outer-name
    import docassemble.base.functions  # pylint: disable=import-outside-toplevel
    docassemble.base.functions.server_context.context = 'celery'
    import docassemble.base.interview_cache  # pylint: disable=import-outside-toplevel
    import docassemble.base.util  # pylint: disable=import-outside-toplevel
    import docassemble.base.parse  # pylint: disable=import-outside-toplevel
    self.flaskapp = flaskapp
    self.set_request_active = set_request_active
    self.fetch_user_dict = fetch_user_dict
    self.save_user_dict = save_user_dict
    self.obtain_lock = obtain_lock
    self.obtain_lock_patiently = obtain_lock_patiently
    self.release_lock = release_lock
    self.Message = Message
    self.reset_user_dict = reset_user_dict
    self.da_send_mail = da_send_mail
    self.functions = docassemble.base.functions
    self.interview_cache = docassemble.base.interview_cache
    self.parse = docassemble.base.parse
    self.retrieve_email = retrieve_email
    self.get_info_from_file_number = get_info_from_file_number
    self.trigger_update = trigger_update
    self.util = docassemble.base.util
    self.r = r
    self.apiclient = apiclient
    self.get_ext_and_mimetype = get_ext_and_mimetype
    self.get_user_object = get_user_object
    self.login_user = login_user
    self.update_last_login = update_last_login
    self.error_notification = error_notification
    self.noquote = noquote
    self.update = docassemble.webapp.update
    self.loaded = True