Hi, I've encountered an IDE error "Code is unreachable - Pylance"
It is caused by __call__ method in Endpoint class, which just raising RuntimeError. Adding an annotation to it (I set it to None because there's nothing to return, but any other will work too) will fix this error:
I did not create a PR because I'm not sure which branch is the main one for Python library
Hi, I've encountered an IDE error "Code is unreachable - Pylance"
It is caused by __call__ method in Endpoint class, which just raising RuntimeError. Adding an annotation to it (I set it to
None
because there's nothing to return, but any other will work too) will fix this error:I did not create a PR because I'm not sure which branch is the main one for Python library