openfga / python-sdk

OpenFGA SDK for Python 3 - https://pypi.org/project/openfga-sdk/
https://openfga.dev
Apache License 2.0
30 stars 10 forks source link

mypy type hints #109

Open dacevedo12 opened 3 days ago

dacevedo12 commented 3 days ago

Checklist

Describe the problem you'd like to have solved

would be nice to have type hints added to the library

mypy currently complains due to openfga_sdk: module is installed, but missing library stubs or py.typed marker

https://peps.python.org/pep-0484/

Describe the ideal solution

adding type hints and a py.typed file so mypy recognizes it

Alternatives and current workarounds

disable the linting rule

References

No response

Additional context

No response

evansims commented 3 days ago

Hi @dacevedo12 👋 Thanks for your suggestion. We'll investigate supporting this.