Page MenuHomeSoftware Heritage

D2885.diff
No OneTemporary

D2885.diff

diff --git a/docs/extrinsic-metadata-specification.rst b/docs/extrinsic-metadata-specification.rst
--- a/docs/extrinsic-metadata-specification.rst
+++ b/docs/extrinsic-metadata-specification.rst
@@ -128,7 +128,7 @@
which adds a new `metadata` byte string obtained from a given authority
and associated to the origin.
- `discovery_date` is an ISO 8601 datetime string.
+ `discovery_date` is a Python datetime.
`authority` must be a dict containing keys `type` and `url`, and
`fetcher` a dict containing keys `name` and `version`.
The authority and fetcher must be known to the storage before using this
@@ -147,7 +147,7 @@
{
'authority': {'type': ..., 'url': ...},
'fetcher': {'name': ..., 'version': ...},
- 'discovery_date': '...',
+ 'discovery_date': ...,
'format': '...',
'metadata': b'...'
}
@@ -169,7 +169,7 @@
{
'authority': {'type': ..., 'url': ...},
'fetcher': {'name': ..., 'version': ...},
- 'discovery_date': '...',
+ 'discovery_date': ...,
'format': '...',
'metadata': b'...'
}

File Metadata

Mime Type
text/plain
Expires
Jul 27 2024, 10:20 PM (11 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220896

Event Timeline