asphalt.feedreader.events

class asphalt.feedreader.events.EntryEvent(source, topic: str, entry: asphalt.feedreader.metadata.FeedEntry)

Bases: asphalt.core.event.Event

Signals that a new news entry has been discovered in a syndication feed.

Variables:entry (FeedEntry) – the entry that was discovered
class asphalt.feedreader.events.MetadataEvent(source, topic: str, changes: typing.Dict[str, typing.Any])

Bases: asphalt.core.event.Event

Signals that one or more metadata attributes on a feed have changed

Variables:changes (Dict[str, Any]) – a dictionary of attribute name ⭢ new value