class documentation

class ThumbnailFormat(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_jpeg Check if the union tag is ``jpeg``.
Method is_png Check if the union tag is ``png``.
Class Variable jpeg Undocumented
Class Variable png Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_jpeg(self): (source)

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

def is_png(self): (source)

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

Undocumented

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented