4 ms·
Same in Python, no? def foo(bar: Literal["active", "inactive"])
by leobg 2y ago
Same in Python, no?
def foo(bar: Literal["active", "inactive"])
- hardwaresofton 2y agoWhat's the best Python type checker these days? Seems like there are at least 4: Mypy, Pytype, Pyright, and Pyre
- Terretta 2y agobasedpyright: https://github.com/DetachHead/basedpyright https://github.com/DetachHead/basedpyright (assuming you can't/don't use MSFT's pylance)