

def format(self, value):
    if isinstance(value, set):
        value = list(value)
    return [self.container.output(idx, (val if ((isinstance(val, dict) or (self.container.attribute and hasattr(val, self.container.attribute))) and (not isinstance(val.container, Nested)) and (not (type(self.container) is Raw))) else value)) for (idx, val) in enumerate(value)]

dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/fields.py List.format/VarMisuse@76/78 `self`->`val`