pull/2555/head
Simone 3 months ago
parent a60bd63af0
commit 7b408b26e7
  1. 4
      slither/printers/guidance/echidna.py

@ -162,9 +162,7 @@ def json_serializable(cls):
my_super = super my_super = super
def as_dict(self): def as_dict(self):
yield { yield {name: value for name, value in zip(self._fields, iter(my_super(cls, self).iter()))}
name: value for name, value in zip(self._fields, iter(my_super(cls, self).__iter__()))
}
cls.__iter__ = as_dict cls.__iter__ = as_dict
return cls return cls

Loading…
Cancel
Save