-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
-
The first problem is almost certainly a bug, the annotation for
__getitem__says it returns astrbut it returnsNoneif the metadata doesn't exist. https://github.com/python/importlib_metadata/blob/v4.11.2/importlib_metadata/_meta.py#L15For example:
from importlib.metadata import metadata print(metadata("pip")["asdfg"] is None) # True
(second problem moved to #374).
Metadata
Metadata
Assignees
Labels
No labels