MCPcopy Create free account
hub / github.com/cifertech/DisplayKit / _is_production

Function _is_production

server/main.py:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def _is_production() -> bool:
28 return os.environ.get("DISPLAYKIT_ENV", "").strip().lower() in (
29 "production",
30 "prod",
31 )
32
33
34def _static_root() -> Path:

Callers 1

create_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected