load_post_sources

Documentation for eth_defi.feed.sources.load_post_sources function.

load_post_sources(mappings_dir=PosixPath('/home/runner/work/web3-ethereum-defi/web3-ethereum-defi/eth_defi/data/feeds'))

Load and validate all feed source mappings.

Returns

Tuple of (sources, feeders_skipped, aliases) where feeders_skipped counts YAML files with all sources disabled (not aliases) and aliases lists feeders that delegate their sources to a canonical feeder via canonical-feeder-id.

Parameters

mappings_dir (pathlib.Path) –

Return type

tuple[list[eth_defi.feed.sources.TrackedPostSource], int, list[eth_defi.feed.sources.FeederAlias]]