Event#

class nominal.Event#

A time-based annotation on one or more assets.

Events flag a moment or interval: a fault, a phase boundary, an anomaly. Created from a client:

e = c.createEvent("<asset rid>", "overspeed", ...
                  Type="error", Duration=seconds(10));

Events attach to assets, not to runs or datasets. A run shows the events whose time falls within it.

Constructor Summary
Property Summary
Rid#

Resource identifier.

Name#

Display name.

Type#

“info”, “flag”, “error”, or “success”.

Timestamp#

When it occurred, UTC.

Duration#

How long it spans; zero for an instant.

AssetRids#

Assets it is attached to.

Properties#

All properties, as a containers.Map.

Method Summary
property(key)#

Value of one property. Errors if the key is absent.

Returns:

string – The property’s value.