database_registry

Documentation for eth_defi.vault.duckdb_backup.database_registry function.

database_registry(base_path, existing_paths)

Resolve the scanner database allowlist and configured path overrides.

Existing export paths supply canonical risk, settlement and currency paths. Unknown files are logged for an operator to register, never bulk uploaded.

Parameters
  • base_path (pathlib.Path) – Active pipeline state directory.

  • existing_paths (list[pathlib.Path]) – Already resolved export paths, possibly overridden.

Returns

Explicit database registry with unique names and paths.

Return type

list[eth_defi.vault.duckdb_backup.DuckDBBackup]