sync_config
Configuration wizard for database settings.
funcnormalize_local_path(path_value) → strNormalize 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_valuestrRaw path string, possibly containing ~ or env vars
Returns
strAbsolute, expanded path string
funcvalidate_foundry_folder(ctx, path) → boolCheck if a Foundry folder exists.
paramctxFoundryContextFoundry context instance
parampathstrFoundry path to check
Returns
boolTrue if folder exists
funcconfigure_sqlite_paths(config) → NoneConfigure SQLite database paths interactively.
paramconfigconfigparser.ConfigParserConfig parser to update with paths
Returns
Nonefuncconfigure_csv_paths(config) → NoneConfigure CSV file paths interactively.
paramconfigconfigparser.ConfigParserConfig parser to update with paths
Returns
Nonefuncconfigure_foundry_paths(config) → NoneConfigure Foundry dataset paths interactively.
Validates Foundry connectivity and guides user through path setup.
paramconfigconfigparser.ConfigParserConfig parser to update with paths
Returns
Nonefuncinitialize_configured_databases() → dict[str, dict[str, bool]]Initialize configured systems/analysis/artifact backends.
Returns
dictNested dict mapping resource name ("systems", "analysis", "artifacts") to {table_name: was_created} results
funcrun_config_wizard() → NoneRun the interactive configuration wizard.
Guides user through database backend selection and path configuration. Writes user config to the platformdirs config location.
Returns
None