diff --git a/swh/model/model.py b/swh/model/model.py --- a/swh/model/model.py +++ b/swh/model/model.py @@ -252,14 +252,6 @@ del ov["visit"] return ov - @classmethod - def from_dict(cls, d): - """Parses the date from a string, and accepts missing visit ids.""" - if isinstance(d["date"], str): - d = d.copy() - d["date"] = dateutil.parser.parse(d["date"]) - return super().from_dict(d) - @attr.s(frozen=True) class OriginVisitStatus(BaseModel):