code: def parent(self):
          
          try:
              return Resource(self['parent_type'], uuid=self['parent_uuid'], check=True)
          except KeyError:
              raise ResourceMissing('%s has no parent resource' % self)
docs: Return parent resource
  
          :rtype: Resource
          :raises ResourceNotFound: parent resource doesn't exists
          :raises ResourceMissing: parent resource is not defined