def config(env=DEFAULT_ENV, default=None, engine=None, conn_max_age=0):

    config = {}

    s = os.environ.get(env, default)

    if s:
        config = parse(s, engine, conn_max_age)

    return config
Helper function for updating the average rating of a product when new
dataset/ETHPy150Open kennethreitz/dj-database-url/dj_database_url.py/config--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-search-python-java/product_search_python/utils.py/updateAverageRating