▲ | sesuximo 10 hours ago | |
> PPS: I think my ideal type hint situation would be if I could create distinct but otherwise unconstrained types for things like function arguments and function returns, have mypy or other typing tools complain when I mixed them Cleaner/safer function args and return types is a common motivation for dataclass. has benefits over many/complex args besides typing too. |