MCPcopy
hub / github.com/benoitc/gunicorn / load_config

Method load_config

gunicorn/app/wsgiapp.py:37–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 self.app_uri = args[0]
36
37 def load_config(self):
38 super().load_config()
39
40 if self.app_uri is None:
41 if self.cfg.wsgi_app is not None:
42 self.app_uri = self.cfg.wsgi_app
43 else:
44 raise ConfigError("No application module specified.")
45
46 def load_wsgiapp(self):
47 return util.import_app(self.app_uri)

Callers

nothing calls this directly

Calls 1

ConfigErrorClass · 0.90

Tested by

no test coverage detected