cloudinary / pycloudinary

Python package for cloudinary
https://cloudinary.com/documentation/django_integration
Other
251 stars 132 forks source link

MyPy types #377

Open Josh-a-e opened 9 months ago

Josh-a-e commented 9 months ago

Feature request for Cloudinary Python SDK

Add valid MyPy types as per PEP-561 ๐Ÿ™

Explain your use case

Type safety is good ๐ŸŽ‰

Describe the problem youโ€™re trying to solve

Type safety within my application - at the moment mypy just complains

https://mypy.readthedocs.io/en/stable/running_mypy.html image

And everything gets typed as Any

Do you have a proposed solution?

Not beyond adding a py.typed file and specifying the various types

wissam-khalili commented 9 months ago

Hi @Josh-a-e ,

Thank you for your input. I will share it with the team for review. Regards, Wissam