class documentation

class UpdatePropertiesError(InvalidPropertyGroupError): (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.

Class Method property_group_lookup Create an instance of this class set to the ``property_group_lookup`` tag with value ``val``.
Method get_property_group_lookup Only call this if :meth:`is_property_group_lookup` is true.
Method is_property_group_lookup Check if the union tag is ``property_group_lookup``.
Method _process_custom_annotations Undocumented

Inherited from InvalidPropertyGroupError:

Method is_does_not_fit_template Check if the union tag is ``does_not_fit_template``.
Method is_duplicate_property_groups Check if the union tag is ``duplicate_property_groups``.
Method is_property_field_too_large Check if the union tag is ``property_field_too_large``.
Class Variable does_not_fit_template Undocumented
Class Variable duplicate_property_groups Undocumented
Class Variable property_field_too_large Undocumented

Inherited from PropertiesError (via InvalidPropertyGroupError):

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

Inherited from TemplateError (via InvalidPropertyGroupError, PropertiesError):

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 property_group_lookup(cls, val): (source)

Create an instance of this class set to the ``property_group_lookup`` tag with value ``val``. :param LookUpPropertiesError val: :rtype: UpdatePropertiesError

def get_property_group_lookup(self): (source)

Only call this if :meth:`is_property_group_lookup` is true. :rtype: LookUpPropertiesError

def is_property_group_lookup(self): (source)

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

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