You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just switched from https://github.com/mgd020/mjml-python to the Python package in this repo because this one tracks updates to mrml. Functionally, they run the same, which is great. However, mjml-python also has a .pyi file with the Python API type signatures in it. Can something like that be added to this Python package as well?
Pylance in VSCode just does not know what to do with the mrml module and shows an error. I have to add # type: ignore where I use mrml to clear the issue. VSCode also does not show me any usage info, which makes this package harder to use.
PyO3 seems to be working on automatic type stubs, but that hasn't fully landed yet: https://pyo3.rs/v0.21.2/python-typing-hints
Side note: it also might be nice to update PyO3, but I don't know if there are any benefits.
Thanks!
The text was updated successfully, but these errors were encountered:
Actually, updating PyO3 might be worth it. According to the migration guide: https://pyo3.rs/v0.21.2/migration, 0.21 fixes an edge case with gevent and has CPU+memory benefits.
I just switched from https://github.com/mgd020/mjml-python to the Python package in this repo because this one tracks updates to
mrml
. Functionally, they run the same, which is great. However, mjml-python also has a.pyi
file with the Python API type signatures in it. Can something like that be added to this Python package as well?Pylance in VSCode just does not know what to do with the mrml module and shows an error. I have to add
# type: ignore
where I use mrml to clear the issue. VSCode also does not show me any usage info, which makes this package harder to use.PyO3 seems to be working on automatic type stubs, but that hasn't fully landed yet: https://pyo3.rs/v0.21.2/python-typing-hints
Side note: it also might be nice to update PyO3, but I don't know if there are any benefits.
Thanks!
The text was updated successfully, but these errors were encountered: