ExecutionLogEntry#

class council.contexts.ExecutionLogEntry(source: str, node: Monitorable | None)[source]#

Bases: object

represents one entry in the ExecutionLog

log_consumption(consumption: Consumption) None[source]#

logs a budget’s Consumption

log_consumptions(consumptions: Sequence[Consumption]) None[source]#

logs multiple budget’s Consumption

log_message(message: ChatMessage) None[source]#

logs a ChatMessage

property node: Monitorable | None#

the related monitorable node in the execution graph

property source: str#

the source/name of the entry

to_dict() Dict[str, Any][source]#

convert into a dictionary