resolve_sticky_export_state_path

Documentation for eth_defi.vault.top_vaults_json.resolve_sticky_export_state_path function.

resolve_sticky_export_state_path(data_dir)

Resolve the sticky export state path.

VAULT_EXPORT_STATE_PATH is an explicit override. Otherwise all vault metric JSON outputs share one state file under the pipeline data directory.

Parameters

data_dir (pathlib.Path) – Pipeline data directory.

Returns

State file path.

Return type

pathlib.Path