MCPcopy
hub / github.com/pallets/werkzeug / make_app

Function make_app

examples/cupoftee/application.py:24–28  ·  view source on GitHub ↗
(database, interval=120)

Source from the content-addressed store, hash-verified

22
23
24def make_app(database, interval=120):
25 return SharedDataMiddleware(
26 Cup(database, interval),
27 {"/shared": path.join(path.dirname(__file__), "shared")},
28 )
29
30
31class PageMeta(type):

Callers

nothing calls this directly

Calls 2

CupClass · 0.85

Tested by

no test coverage detected