simplebench.reporters.protocols.choice_protocol module🔗
Protocols for Choice-like objects.
- class simplebench.reporters.protocols.choice_protocol.ChoiceProtocol(*args, **kwargs)[source]🔗
Bases:
ProtocolA protocol defining the essential attributes for a Choice-like object.
This ensures that any object used within a generic
Choicescollection has the necessarynameandflagsattributes for indexing and management.