MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / get_app

Method get_app

pywebio/platform/adaptor/http.py:367–369  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

365 applications = make_applications(applications)
366
367 def get_app(context):
368 app_name = context.request_url_parameter('app', 'index')
369 return applications.get(app_name) or applications['index']
370
371 self.app_loader = app_loader or get_app
372

Callers

nothing calls this directly

Calls 2

request_url_parameterMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected