Skip to content
Snippets Groups Projects
Commit 16e4425a authored by Antoine Lambert's avatar Antoine Lambert
Browse files

model: Fix sphinx warning

Related to T2188
parent 7b6f4745
No related branches found
Tags v0.3.7
No related merge requests found
...@@ -119,7 +119,7 @@ class TimestampWithTimezone(BaseModel): ...@@ -119,7 +119,7 @@ class TimestampWithTimezone(BaseModel):
@classmethod @classmethod
def from_dict(cls, d): def from_dict(cls, d):
"""Builds a TimestampWithTimezone from any of the formats """Builds a TimestampWithTimezone from any of the formats
accepted by :py:`swh.model.normalize_timestamp`.""" accepted by :func:`swh.model.normalize_timestamp`."""
d = normalize_timestamp(d) d = normalize_timestamp(d)
return cls( return cls(
timestamp=Timestamp.from_dict(d['timestamp']), timestamp=Timestamp.from_dict(d['timestamp']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment