mark_twitter_source_dead

Documentation for eth_defi.feed.sources.mark_twitter_source_dead function.

mark_twitter_source_dead(yaml_path, dead_at)

Append twitter-dead-at to a feeder YAML without rewriting it.

Used when a Twitter account has not posted for the configured death detection period.

Parameters
  • yaml_path (pathlib.Path) – Path to the feeder YAML file.

  • dead_at (str) – ISO date string to stamp, e.g. 2026-04-04.

Returns

True when the file was updated, False when the field was already present.

Return type

bool