class documentation

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 file_properties.PropertiesError.unsupported_folder: This folder cannot be tagged. Tagging folders is not supported for team-owned templates.

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_path Check if the union tag is ``path``.
Method is_unsupported_folder Check if the union tag is ``unsupported_folder``.
Class Variable unsupported_folder Undocumented
Method _process_custom_annotations Undocumented

Inherited from TemplateError:

Class Method template_not_found Create an instance of this class set to the ``template_not_found`` tag with value ``val``.
Method get_template_not_found Template does not exist for the given identifier.
Method is_other Check if the union tag is ``other``.
Method is_restricted_content Check if the union tag is ``restricted_content``.
Method is_template_not_found Check if the union tag is ``template_not_found``.
Class Variable other Undocumented
Class Variable restricted_content Undocumented
Class Variable _catch_all Undocumented
@classmethod
def path(cls, val): (source)

Create an instance of this class set to the ``path`` tag with value ``val``. :param LookupError val: :rtype: PropertiesError

def get_path(self): (source)

Only call this if :meth:`is_path` is true. :rtype: LookupError

def is_path(self): (source)

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

def is_unsupported_folder(self): (source)

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

unsupported_folder = (source)

Undocumented