MDFactoryMDFactory

sync_config

Configuration wizard for database settings.

funcnormalize_local_path(path_value)str

Normalize local filesystem paths for persisted config values.

Expands environment variables and ~. Relative paths are converted to absolute paths relative to the current working directory.

parampath_valuestr

Raw path string, possibly containing ~ or env vars

Returns

str

Absolute, expanded path string

funcvalidate_foundry_folder(ctx, path)bool

Check if a Foundry folder exists.

paramctxFoundryContext

Foundry context instance

parampathstr

Foundry path to check

Returns

bool

True if folder exists

funcconfigure_sqlite_paths(config)None

Configure SQLite database paths interactively.

paramconfigconfigparser.ConfigParser

Config parser to update with paths

Returns

None
funcconfigure_csv_paths(config)None

Configure CSV file paths interactively.

paramconfigconfigparser.ConfigParser

Config parser to update with paths

Returns

None
funcconfigure_foundry_paths(config)None

Configure Foundry dataset paths interactively.

Validates Foundry connectivity and guides user through path setup.

paramconfigconfigparser.ConfigParser

Config parser to update with paths

Returns

None
funcinitialize_configured_databases()dict[str, dict[str, bool]]

Initialize configured systems/analysis/artifact backends.

Returns

dict

Nested dict mapping resource name ("systems", "analysis", "artifacts") to {table_name: was_created} results

funcrun_config_wizard()None

Run the interactive configuration wizard.

Guides user through database backend selection and path configuration. Writes user config to the platformdirs config location.

Returns

None