def add(self, key, value):
        if isinstance(value, list):
            for val in value:
                self.appendlist(key, val)
        else:
            self.appendlist(key, value)
Method to accept a list of values and append to flat list.
dataset/ETHPy150Open AltSchool/dynamic-rest/dynamic_rest/viewsets.py/QueryParams.add