def static()

in src/asfquart/config.py [0:0]


def static(func):
    """Standard wrapper for a configuration parser. Reads config.yaml and passes it to the callback as a dict"""

    @functools.wraps(func)
    async def config_wrapper(config_filename=DEFAULT_CONFIG_FILENAME):
        await _read_config(func, config_filename)

    return config_wrapper