cleanlab / cleanlab/cleanvision
mypy stubs for non-trivial datatypes
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
There are places in codebase like [this](https://github.com/cleanlab/cleanvision/blob/main/src/cleanvision/utils/viz_manager.py#LL32C58-L32C60) where `mypy` won't be to detect variable's type and it will be termed as `Any`.

Are we planning to add any mypy stubs for such variables?
I am interested in this because in #124, one of the possible types of `imagelab.info` is `pd.Series` or `pd.DataFrame` but if we are not using stubs like [pandas stubs](https://github.com/pandas-dev/pandas-stubs) then `mypy` will consider them (pd.Series) to `Any` datatype.
Contributor guide
Assessment
This issue has not been assessed yet.