2 ms·
My favourite way to enforce types in python is to use typeguard‘s typechecked decorator. It is checked at runtime but it can be added gradually. https://pypi.o
by mejutoco 5y ago
My favourite way to enforce types in python is to use typeguard‘s typechecked decorator. It is checked at runtime but it can be added gradually.
https://pypi.org/project/typeguard/ https://pypi.org/project/typeguard/