Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066308
D7587.id27497.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
457 B
Subscribers
None
D7587.id27497.diff
View Options
diff --git a/swh/indexer/metadata_dictionary/__init__.py b/swh/indexer/metadata_dictionary/__init__.py
--- a/swh/indexer/metadata_dictionary/__init__.py
+++ b/swh/indexer/metadata_dictionary/__init__.py
@@ -27,7 +27,7 @@
@click.command()
@click.argument("mapping_name")
@click.argument("file_name")
-def main(mapping_name, file_name):
+def main(mapping_name: str, file_name: str):
from pprint import pprint
with open(file_name, "rb") as fd:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 5:31 AM (8 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216247
Attached To
D7587: Add annotations to the main function in __init__.py
Event Timeline
Log In to Comment