def put(self, *labels):
        '''Add a new label to the store.

        :param label: label
        :type label: :class:`Label`
        '''
        puts = []
        for label in labels:
            k1, k2 = self._keys_from_label(label)
            v = self._value_from_label(label)
            puts.append((k1, v))
            puts.append((k2, v))
        self.kvl.put(self.TABLE, *puts)
def put ( self , * labels ) : puts = [ ] for label in labels : k1 , k2 = self . _keys_from_label ( label ) v = self . _value_from_label ( label ) puts . append ( ( k1 , v ) ) puts . append ( ( k2 , v ) ) self . kvl . put ( self . TABLE , * puts )
Add a new label to the store.

        :param label: label
        :type label: :class:`Label`