Open rgbkrk opened 1 year ago
When this package is used from a workspace that uses mypy it will show up with the error:
mypy
Skipping analyzing "redis_om": module is installed, but missing library stubs or py.typed marker
More on this from mypy in Missing library stubs or py typed marker
We would love to benefit from type-checking since HashModel is already based on pydantic! Any of the options mypy recommends is great:
HashModel
I have to put this in my pyproject.toml for the moment:
pyproject.toml
[[tool.mypy.overrides]] module = "redis_om" ignore_missing_imports = true
When this package is used from a workspace that uses
mypy
it will show up with the error:More on this from mypy in Missing library stubs or py typed marker
We would love to benefit from type-checking since
HashModel
is already based on pydantic! Any of the options mypy recommends is great:I have to put this in my
pyproject.toml
for the moment: