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
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
I think we are already mypy compatible, as far as I understand, the py.typed file just needs to exist, without content. Pydantic and FastApi also just have this empty py.typed file.
Also, I tested this in a separate project, and mypy worked as expected:
for docarray, the import works and incorrect type in line 11 is detected
for PIL already the import fails, because it does not have type hints
Activity
anna-charlotte commentedon Mar 17, 2023
I think we are already mypy compatible, as far as I understand, the py.typed file just needs to exist, without content.
Pydantic and FastApi also just have this empty
py.typedfile.Also, I tested this in a separate project, and mypy worked as expected: