class documentation

class GracePeriod(bb.Union): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.

Method is_always Check if the union tag is ``always``.
Method is_one_day Check if the union tag is ``one_day``.
Method is_other Check if the union tag is ``other``.
Method is_seven_days Check if the union tag is ``seven_days``.
Method is_thirty_days Check if the union tag is ``thirty_days``.
Method is_two_days Check if the union tag is ``two_days``.
Class Variable always Undocumented
Class Variable one_day Undocumented
Class Variable other Undocumented
Class Variable seven_days Undocumented
Class Variable thirty_days Undocumented
Class Variable two_days Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_always(self): (source)

Check if the union tag is ``always``. :rtype: bool

def is_one_day(self): (source)

Check if the union tag is ``one_day``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_seven_days(self): (source)

Check if the union tag is ``seven_days``. :rtype: bool

def is_thirty_days(self): (source)

Check if the union tag is ``thirty_days``. :rtype: bool

def is_two_days(self): (source)

Check if the union tag is ``two_days``. :rtype: bool

Undocumented

Undocumented

Undocumented

seven_days = (source)

Undocumented

thirty_days = (source)

Undocumented

two_days = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented