def __init__(self, appinfo_external, appinfo_config):
    self.appinfo_external = appinfo_external
    self.threadsafe = appinfo_external.threadsafe
    self.handlers = [(x.url,
                      _NormalizedScript(x.script),
                      x.login == appinfo.LOGIN_OPTIONAL,
                      x)
                     for x in appinfo_external.handlers]
    logging.info('Parsed handlers: %s', [(x[0], x[1]) for x in self.handlers])
    sys.path[:] = FixDjangoPath(appinfo_external.libraries, sys.path)
    self.user_env_variables = appinfo_external.env_variables or {}
    self.l7_unsafe_redirect_url = 'https://%s-dot-%s-dot-%s' % (
        appinfo_config.major_version,
        appinfo_config.module,
        appinfo_config.appengine_hostname)


    self.is_last_successful = False
    self.is_last_successful_time = None
    if (self.appinfo_external.vm_health_check is None or
        self.appinfo_external.vm_health_check.check_interval_sec is None):
      self.check_interval_sec = DEFAULT_HEALTH_CHECK_INTERVAL_SEC
    else:
      vm_health_check = self.appinfo_external.vm_health_check
      self.check_interval_sec = vm_health_check.check_interval_sec
Parse app.yaml file and extract valid handlers.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/vmruntime/meta_app.py/MetaWSGIApp.__init__