class documentation

class RemoveTagError(BaseTagError): (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. :ivar files.RemoveTagError.tag_not_present: That tag doesn't exist at this path.

Method is_tag_not_present Check if the union tag is ``tag_not_present``.
Class Variable tag_not_present Undocumented
Method _process_custom_annotations Undocumented

Inherited from BaseTagError:

Class Method path Create an instance of this class set to the ``path`` tag with value ``val``.
Method get_path Only call this if :meth:`is_path` is true.
Method is_other Check if the union tag is ``other``.
Method is_path Check if the union tag is ``path``.
Class Variable other Undocumented
Class Variable _catch_all Undocumented
def is_tag_not_present(self): (source)

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

tag_not_present = (source)

Undocumented

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