Models¶
-
class
tom_alerts.models.BrokerQuery(*args, **kwargs)¶ Class representing a query to a broker in a TOM
- Parameters
name (str) – The user-given name of this query.
broker (str) – The name of the broker–this should come directly from the
nameattribute of the broker class representing the broker.parameters (dict) – Parameters for this
BrokerQuery, stored as a JSON string.created (datetime) – The time at which this
BrokerQuerywas created in the TOM database.modified (datetime) – The time at which this
BrokerQuerywas changed in the TOM database.last_run (datetime) – The time at which this
BrokerQuerywas last run against its corresponding broker.