Post #1231543
2026-03-09 03:57 UTC
@adamghill oh, the validate_types decorator is very smart!
Replies (1)
-
@adamghill@indieweb.social 2026-03-09 10:22
@kevinrenskers in a few of my libraries I use https://typeguard.readthedocs.io/en/latest/userguide.html#using-the-decorator which is a similar idea. https://github.com/beartype/beartype is the other library I've looked at for this in the past.