def lease(self, items):
        """Add the given messages to lease management.

        Args:
            items(Sequence[LeaseRequest]): The items to lease.
        """
        self._manager.leaser.add(items)
        self._manager.maybe_pause_consumer()
def lease ( self , items ) : self . _manager . leaser . add ( items ) self . _manager . maybe_pause_consumer ( )
Add the given messages to lease management.

        Args:
            items(Sequence[LeaseRequest]): The items to lease.