Skip to content

Reactions

jaff.core.reaction.Reactions

The Reactions class is a typed, ordered Catalogue of Reaction objects. It supports dictionary-style lookup by verbatim string or serialized key, and provides vector accessors for bulk retrieval of reaction properties.

Attributes

count : int
Total number of reactions in the collection.

Constructor

Reactions(reactions=None)

Parameters

reactions : list[Reaction] or None, optional
Initial reactions. Default None (empty collection).