

def encode(self, o):
    if isinstance(o, SolrResponse):
        return o.encode(list(o))
    return super(SunburntJSONEncoder, self).encode(o)

dataset/ETHPy150Open tow/sunburnt/sunburnt/json.py SunburntJSONEncoder.encode/VarMisuse@23/27 `self`->`o`