<filename>broccoli_server/utils/getenv_or_raise.py<gh_stars>1-10
import os


def getenv_or_raise(env):
    if env not in os.environ:
        raise RuntimeError(f"{env} does not exist")
    return os.environ[env]

<filename>broccoli_server/utils/getenv_or_raise.py<gh_stars>1-10
import os


def getenv_or_raise(env):
    if env not in os.environ:
        raise RuntimeError(f"{env} does not exist")
    return os.environ[env]
