10 lines
412 B
Python
10 lines
412 B
Python
"""Server-side release switches; included in each frozen run."""
|
|
import os
|
|
|
|
|
|
def flags():
|
|
return {"assistant": os.getenv("XINGBANG_ASSISTANT_ENABLED", "1") != "0",
|
|
"demo": os.getenv("XINGBANG_ASSISTANT_DEMO_ENABLED", "1") != "0",
|
|
"experiences": os.getenv("XINGBANG_ASSISTANT_EXPERIENCES", "1") != "0",
|
|
"evaluation": os.getenv("XINGBANG_ASSISTANT_EVALUATION", "1") != "0"}
|