elchicodepython / python-nocodb

NocoDB Python API Client
https://pypi.org/project/nocodb/
MIT License
64 stars 19 forks source link

Specify AuthToken as parent class of APIToken and JWTAuthToken in order #12

Closed alex-berlin-tv closed 1 year ago

alex-berlin-tv commented 1 year ago

This omits the Pyright warning when an APIToken/JWAuthToken is used in the creation of a new NocoDBRequests instance. As there is currently no no way for Pyright to tell that this to classes can be used as a parameter for NocoDBRequsts.

elchicodepython commented 1 year ago

LGTM. Thank you! 🙌🏻