-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
As I used this package, it seemed like the code's documentation was inconsistent with its API. I've developed a minimal example based on my use case:
# Shows error in pylance type analysis
from periodictable import elements
# If `type: ignore` is removed, pylance throws an error when it shouldn't.
print(elements.symbol('Fe').mass) # type: ignoreThis code works fine, but it throws an error in pylance. A fix would be great, but if there was at least some indication of this behavior in the documentation, that would be really helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels