Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123605
D1746.id5881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
508 B
Subscribers
None
D1746.id5881.diff
View Options
diff --git a/swh/model/model.py b/swh/model/model.py
--- a/swh/model/model.py
+++ b/swh/model/model.py
@@ -210,6 +210,9 @@
date = attr.ib(type=Optional[TimestampWithTimezone],
default=None,
validator=attr.validators.optional([]))
+ metadata = attr.ib(type=Optional[Dict[str, object]],
+ default=None,
+ validator=attr.validators.optional([]))
@author.validator
def check_author(self, attribute, value):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 12:46 PM (19 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224864
Attached To
D1746: Add a 'metadata' field to releases.
Event Timeline
Log In to Comment