-
It would be nice to add the missing type hints to instnace attributes and functions return type. This improves readability and development. It will also avoid the vague Unknown type when hovering over code inside code editors like VS code.
-
Consistnecy: some annotations are not consistent, mixing built-in generics with typing generics (e.g., Dict and dict). Since Experanto supports Python>=3.9 (as defined in pyproject.toml), I believe it will be safe to migrate to built-in types.
I've already started working on this, but I'm opening this issue first to follow what Polina suggested in GSoC forum. I will open a PR once you approve
It would be nice to add the missing type hints to instnace attributes and functions return type. This improves readability and development. It will also avoid the vague
Unknowntype when hovering over code inside code editors like VS code.Consistnecy: some annotations are not consistent, mixing built-in generics with
typinggenerics (e.g.,Dictanddict). Since Experanto supports Python>=3.9 (as defined in pyproject.toml), I believe it will be safe to migrate to built-in types.I've already started working on this, but I'm opening this issue first to follow what Polina suggested in GSoC forum. I will open a PR once you approve