code: def get_objects_with_cmodel(self, cmodel_uri, type=None):
          
          uris = self.risearch.get_subjects(modelns.hasModel, cmodel_uri)
          return [self.get_object(uri, type) for uri in uris]
docs: Find objects in Fedora with the specified content model.
  
          :param cmodel_uri: content model URI (should be full URI in  info:fedora/pid:### format)
          :param type: type of object to return (e.g., class:`DigitalObject`)
          :rtype: list of objects