TrackedPostSource
Documentation for eth_defi.feed.sources.TrackedPostSource Python class.
- class TrackedPostSource
Bases:
objectA single logical source mapping for feed collection.
Attributes summary
Canonical slug for the feeder, matching the curator, protocol, stablecoin, or vault slug.
Human-readable feeder name shown in diagnostics and exports.
Feeder role such as protocol, curator, stablecoin, or vault.
Company website for the feeder when configured in YAML.
Source transport type, currently rss, twitter, or linkedin.
Source-specific stable key, such as feed URL, Twitter username, or LinkedIn company id.
Canonical source URL used for fetching or bridge construction.
Path to the YAML file that defined this source.
Methods summary
__init__(feeder_id, name, role, website, ...)Return the natural unique key for this source.
- feeder_id: str
Canonical slug for the feeder, matching the curator, protocol, stablecoin, or vault slug.
- name: str
Human-readable feeder name shown in diagnostics and exports.
- role: str
Feeder role such as protocol, curator, stablecoin, or vault.
- website: Optional[str]
Company website for the feeder when configured in YAML.
- source_type: str
Source transport type, currently rss, twitter, or linkedin.
- source_key: str
Source-specific stable key, such as feed URL, Twitter username, or LinkedIn company id.
- canonical_url: str
Canonical source URL used for fetching or bridge construction.
- mapping_file: pathlib.Path
Path to the YAML file that defined this source.
- get_logical_key()
Return the natural unique key for this source.