configure_optional_private_backfills

Documentation for eth_defi.tokenised_fund.backfill.configure_optional_private_backfills function.

configure_optional_private_backfills(protocols_value, protocols)

Make the default all-protocol run tolerate unavailable private data.

WisdomTree metadata is public on-chain, but its official NAV history needs a private DataSpan API key. The implicit all-protocol workflow therefore registers its metadata and skips only the private price scan when neither the key nor an explicit price-scan choice is present. Explicit WisdomTree selections continue to fail closed without the credential.

Parameters
  • protocols_value (Optional[str]) – Raw PROTOCOLS environment value.

  • protocols (tuple[str, ...]) – Validated protocol selection.

Returns

None.

Return type

None