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

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