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
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ class TimestampWithTimezone(BaseModel):
@classmethod
def from_dict(cls, d):
"""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)
return cls(
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