Skip to content

rockfish.events

Event

Event is the base class for all concrete event types.

Attributes:

Name Type Description
version str
time datetime
tags dict
job_id str

LogLevel

Attributes:

Name Type Description
DEBUG
INFO
WARN
ERROR

LogEvent

LogEvent is an event from the logging system.

Attributes:

Name Type Description
level LogLevel
message str

ProgressEvent

ProgressEvent is an event indicated a change in progress tracking.

Attributes:

Name Type Description
n int
total int

StateEvent

StateEvent is an event indicating a change in state.

Attributes:

Name Type Description
state JobState

LinkEvent

LinkEvent is an event indicating an artifact was produced.

Attributes:

Name Type Description
rel str
href URL