class documentation

class ModifyTemplateError(TemplateError): (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 file_properties.ModifyTemplateError.conflicting_property_names: A property field key with that name already exists in the template. :ivar file_properties.ModifyTemplateError.too_many_properties: There are too many properties in the changed template. The maximum number of properties per template is 32. :ivar file_properties.ModifyTemplateError.too_many_templates: There are too many templates for the team. :ivar file_properties.ModifyTemplateError.template_attribute_too_large: The template name, description or one or more of the property field keys is too large.

Method is_conflicting_property_names Check if the union tag is ``conflicting_property_names``.
Method is_template_attribute_too_large Check if the union tag is ``template_attribute_too_large``.
Method is_too_many_properties Check if the union tag is ``too_many_properties``.
Method is_too_many_templates Check if the union tag is ``too_many_templates``.
Class Variable conflicting_property_names Undocumented
Class Variable template_attribute_too_large Undocumented
Class Variable too_many_properties Undocumented
Class Variable too_many_templates 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
def is_conflicting_property_names(self): (source)

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

def is_template_attribute_too_large(self): (source)

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

def is_too_many_properties(self): (source)

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

def is_too_many_templates(self): (source)

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

conflicting_property_names = (source)

Undocumented

template_attribute_too_large = (source)

Undocumented

too_many_properties = (source)

Undocumented

too_many_templates = (source)

Undocumented

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