def get_declarative_base(name='base', base_class=object):
 bases = (((not isinstance(base_class, tuple)) and (base_class,)) or base_class)
 class_dict = {'__init__': _kwarg_init_constructor, '_validate_required': _validate_required, '__pre_publish__': _pre_publish_validator, '_declarative_artifact_type': True, 'update': _update}
 return ArtifactTypeMetaclass(name, bases, class_dict)

def get_declarative_base ( name = 'base' , base_class = object ) : bases = ( ( ( not isinstance ( base_class , tuple ) ) and ( base_class , ) ) or base_class ) class_dict = { '__init__' : _kwarg_init_constructor , '_validate_required' : _validate_required , '__pre_publish__' : _pre_publish_validator , '_declarative_artifact_type' : True , 'update' : _update } return ArtifactTypeMetaclass ( name , bases , class_dict )
returns a base class which should be inherited to construct artifact type object using the declarative syntax of attribute definition .