Julius Unverfehrt 0a11471191 feat(opentel,dynaconf): adapt new pyinfra
This commit also disables a broken test that connot be fixed. There are
also many scripts that didn't work anyways (and are not needed in my
eyes) that were not updatet. The scripts that are needed to run the
service processing locally still work.
2024-02-08 11:19:33 +01:00

10 lines
242 B
Python

from pathlib import Path
from pyinfra.config.loader import load_settings
def get_config():
local_root_path = Path(__file__).parents[1]
settings = load_settings(root_path=local_root_path, settings_path="config")
return settings