Errata

Python objects

Message schema for Errata.

Each message is defined as a Python class. For details, see fedora-messaging documentation on messages.

class bodhi.messages.schemas.errata.ErrataPublishV1(body=None, headers=None, topic=None, properties=None, severity=None)[source]

Bases: BodhiMessage

Sent when an errata is published.

__annotations__ = {}
__str__() str[source]

Return a human-readable representation of this message.

This should provide a detailed representation of the message, much like the body of an email.

property agent_name: str

Return the agent’s username for this message.

Returns:

The agent’s username.

property packages: Iterable[str]

List of package names affected by the action that generated this message.

Returns:

A list of affected package names.

property summary: str

Return a short, human-readable representation of this message.

This should provide a short summary of the message, much like the subject line of an email.

topic = 'bodhi.errata.publish'
property update: UpdateV1

Return the Update from this errata.

property url: str

Return a URL to the action that caused this message to be emitted.

Returns:

A relevant URL.

JSON schemas