resolve_xerberus_database_path

Documentation for eth_defi.xerberus.constants.resolve_xerberus_database_path function.

resolve_xerberus_database_path()

Resolve the Xerberus DuckDB database path.

Scripts share the same XERBERUS_DATABASE_PATH environment variable override. Keeping the resolver next to XERBERUS_DATABASE_PATH avoids each caller repeating the same environment lookup.

Returns

Path from XERBERUS_DATABASE_PATH or the default DuckDB path.

Return type

pathlib.Path