def tag_by_query(self, query, tagsToSet):
        h = {}
        for tag in tagsToSet:
            h[tag] = {u'value': tagsToSet[tag]}
        (v, r) = self.call(u'PUT', u'/values', json.dumps(h),
                          {u'query': query})
        assert_status(v, STATUS.NO_CONTENT)
Sets one or more tags on objects that match a query.
dataset/ETHPy150Open njr0/fish/fish/fishlib.py/Fluidinfo.tag_by_query