def create_object(self, name, image_sets):
        """Create a prediction image set list.

        Parameters
        ----------
        name : string
            User-provided name for the image group.
        image_sets : list(PredictionImageSet)
            List of prediction image sets

        Returns
        -------
        PredictionImageSetHandle
            Object handle for created prediction image set
        """
        # Create a new object identifier
        identifier = str(uuid.uuid4()).replace('-','')
        properties = {datastore.PROPERTY_NAME: name}
        # Create the image group object and store it in the database before
        # returning it.
        obj = PredictionImageSetHandle(identifier, properties, image_sets)
        self.insert_object(obj)
        return obj
def create_object ( self , name , image_sets ) : identifier = str ( uuid . uuid4 ( ) ) . replace ( '-' , '' ) properties = { datastore . PROPERTY_NAME : name } obj = PredictionImageSetHandle ( identifier , properties , image_sets ) self . insert_object ( obj ) return obj
Create a prediction image set list.

        Parameters
        ----------
        name : string
            User-provided name for the image group.
        image_sets : list(PredictionImageSet)
            List of prediction image sets

        Returns
        -------
        PredictionImageSetHandle
            Object handle for created prediction image set