Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, pyright is called on static code. Beartime is called during the python process. Basically all my functions are decorated.

See for example in wdoc, my advanced personal RAG system:

https://github.com/thiswillbeyourgithub/wdoc/blob/main/wdoc/...



But why do you need to check types at runtime if you've already checked them statically?


Not all code can be checked statically. See the other child of the parent post for my example :)!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: