Files
pobsync/src/pobsync_backend/config_source.py

13 lines
367 B
Python
Raw Normal View History

from __future__ import annotations
from typing import Any
from pobsync.config.merge import build_effective_config
from .config_repository import global_config_data, host_config_data
class DjangoConfigSource:
def effective_config_for_host(self, host: str) -> dict[str, Any]:
return build_effective_config(global_config_data(), host_config_data(host))