Skip to main content

Option

This class represents an interface for options. It defines a single method, option(), which must be implemented by any type that wishes to be considered an Option.

Methods


option()

@classmethod
def option()

Represents an option within the system. This method serves as a marker for types that implement the Option interface.