get_config

View as MarkdownOpen in Claude

Get the raw configuration dictionary before environment variable substitution.

Returns

dict[str, Any] — The raw config, or an empty dict if no config is loaded.

Example

from signalwire.core.config_loader import ConfigLoader
loader = ConfigLoader(["config.json"])
raw = loader.get_config()
print(raw)
# {"server": {"port": 3000}, "security": {"ssl_enabled": "${SWML_SSL_ENABLED|false}"}}