bayesline.api.StableIdentityEnum#

class bayesline.api.StableIdentityEnum(value)#

An enum whose class and member names are stored as durable identities.

identity is built from both, so neither may be renamed once anything has been stored against it: a rename yields a different identity and silently strands whatever the old one keyed.

__init__(*args, **kwds)#

Attributes

identity

The durable identity of this member.

property identity: str#

The durable identity of this member.

Returns#

str

The enum’s class name and the member’s name, colon separated and lowercased.