def get_default(key):
    try:
        return current_app.config.get(key, None)
    except (AttributeError, RuntimeError):
        # AttributeError or RuntimeError depending on upstream versions.
        # No app is in context, return None as documented.
        return None
# TODO Comment
dataset/ETHPy150Open willowtreeapps/tango-core/tango/filters.py/get_default--crossover with--dataset/ETHPy150Open karesansui/pysilhouette/pysilhouette/db/__init__.py/dbsave