def get_subset(self, subset):
        """
        Retrieve a subset of items
        Accepts a single argument: a list of item IDs
        """
        if len(subset) > 50:
            raise ze.TooManyItems("You may only retrieve 50 items per call")
        # remember any url parameters that have been set
        params = self.url_params
        retr = []
        for itm in subset:
            retr.extend(self.item(itm))
            self.url_params = params
        # clean up URL params when we're finished
        self.url_params = None
        return retr
def get_subset(self, subset):
        """
        Retrieve a subset of items
        Accepts a single argument: a list of item IDs
        """
        if len(subset) > 50:
            raise ze.TooManyItems("You may only retrieve 50 items per call")
        # remember any url parameters that have been set
        params = self.url_params
        retr = []
        for itm in subset:
            retr.extend(self.item(itm))
            self.url_params = params
        # clean up URL params when we're finished
        self.url_params = None
        return retr
def get_subset ( self , subset ) : if len ( subset ) > 50 : raise ze . TooManyItems ( "You may only retrieve 50 items per call" ) # remember any url parameters that have been set params = self . url_params retr = [ ] for itm in subset : retr . extend ( self . item ( itm ) ) self . url_params = params # clean up URL params when we're finished self . url_params = None return retr
Retrieve a subset of items
        Accepts a single argument: a list of item IDs
Retrieve a subset of items Accepts a single argument : a list of item IDs