Add the given messages to lease management.

        Args:
            items(Sequence[LeaseRequest]): The items to lease.
977448
def lease(self, items):
        
        self._manager.leaser.add(items)
        self._manager.maybe_pause_consumer()
200191
def _put_many(self, items):
        ''' 
        '''
        for item in items:
            if not isinstance(item, self._item_class):
                raise RuntimeError('Items mismatch for %s and %s' % (self._item_class, type(item)))
            self._put_one(item)
498059
def insert(self, i, item_weight):
        
        item, weight = item_weight
        self._seq.insert(i, item)
        self.weight += weight
1237291
def extend(self, items):
        
        if items:
            if self.serialized:
                items = list(map(self._dumps, items))
            self._client.rpush(self.key_prefix, *items)
785285
public void addItemDetails(CmsListItemDetails itemDetail) {

        itemDetail.setListId(getListId());
        m_itemDetails.addIdentifiableObject(itemDetail.getId(), itemDetail);
    }
33113
def add_items_to_message(msg, log_dict):
    """"""
    out = msg
    for key, value in log_dict.items():
        out += " {}={}".format(key, value)
    return out
1129818
@SafeVarargs
    public final void addAll(T... items) {
        final int length = items.length;
        if (length == 0) {
            return;
        }
        synchronized (mLock) {
            final int position = getItemCount();
            Collections.addAll(mObjects, items);
            notifyItemRangeInserted(position, length);
        }
    }
98828
def update(self, *args):
        
        for d in args:
            for (key, value) in d.items():
                self.__setitem__(key, value)
523289
def add(self, item):
        ""
        for pos in self._hashes(item):
            self.hash |= (2 ** pos)
186016
def set(self, key, items):
        """"""
        if not isinstance(items, list):
            raise ValueError("items must be a list")
        with self._lock:
            self._dict[key] = items.copy()
1252656
public static <Item extends IItem> void addAllSubItems(Item item, List<Item> items) {
        if (item instanceof IExpandable && !((IExpandable) item).isExpanded() && ((IExpandable) item).getSubItems() != null) {
            List<Item> subItems = (List<Item>) ((IExpandable<Item, ?>) item).getSubItems();
            Item subItem;
            for (int i = 0, size = subItems.size(); i < size; i++) {
                subItem = subItems.get(i);
                items.add(subItem);
                addAllSubItems(subItem, items);
            }
        }
    }
1170857
def add(self, item):
        
        def result_fnc(f):
            if f.result():
                return True
            raise Full("Queue is full!")

        return self.offer(item).continue_with(result_fnc)
1143059
def add_properties(self, properties):
        
        if isinstance(properties, dict):
            self._properties.update(properties)
58478
def add_items(self, data_dict, root=None, target=None):
        
        if root is None:
            print("Warning: TreeCtrl root must be given.")
            return
        if target is None:
            print("Warning: TreeCtrl target must be given.")
            return
        for k in sorted(data_dict):
            if isinstance(data_dict[k], dict):
                k_item_root = target.AppendItem(root, k)
                self.add_items(data_dict[k], k_item_root, target)
            else:
                item_val = ' : '.join((k, str(data_dict[k])))
                target.AppendItem(root, item_val)
39400
public void setItems(java.util.Collection<IntegrationResponse> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<IntegrationResponse>(items);
    }
1081706
def add_all(self, items):
        
        check_not_none(items, "Value can't be None")
        data_items = []
        for item in items:
            check_not_none(item, "Value can't be None")
            data_items.append(self._to_data(item))
        return self._encode_invoke(queue_add_all_codec, data_list=data_items)
1044248
public void add( int handle , int deliveryMode , LocalQueue destination , AbstractMessage message )
    {
    	items.add(new MessageLock(handle,deliveryMode,destination,message));
    }