def simplify(self, inputs):
    '将list中的None过滤掉\n        '
    inputs = [i for i in inputs if (i is not None)]
    if (len(inputs) == 1):
        inputs = inputs[0]
    return inputs
将list中的None过滤掉
def simplify(self, inputs):
    '\n        '
    inputs = [i for i in inputs if (i is not None)]
    if (len(inputs) == 1):
        inputs = inputs[0]
    return inputs