Youdiowei Eteimorde

Results 11 comments of Youdiowei Eteimorde

Hi @hsm207 I will love to help with this issue. I have already gone ahead and used [stubgen](https://mypy.readthedocs.io/en/stable/stubgen.html#stubgen) to generate a draft. Are we only adding types for the **weaviate-python-client/weaviate/**...

Hi @dirkkul I forked the typeshed repo and added weaviate stubs to it. Here's the [link](https://github.com/EteimZ/typeshed/tree/main/stubs/weaviate) to it. Can you got through it and tell me if there's any correction...

Sure thing @tsmith023

Hi @tsmith023, Here's the updated [stub](https://github.com/EteimZ/typeshed/tree/main/stubs/weaviate).

Okay No Problem @tsmith023

> @EteimZ, I believe that the stubs all look fine provided that you called the standard `mypy.stubgen` command 😁 > > The only thing that jumps out is that the...

> Alas! I found issues of inconsistency between the stubs and the package due to our misconfiguration of `mypy` within the `pyproject.toml` file. I have a PR setup to rectify...

> @EteimZ, looking at typeshed's `CONTRIBUTING.md` file [here](https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#the-metadatatoml-file), I think we need to add the stubs used by this library into the `requires` field. These, as listed in `requirements-devel.txt`, are:...

> @EteimZ, there's one last thing that needs fixing. A better solution than adding `# type: ignore` to the auto-generated `weaviate_grpc` files is to create stubs for this folder. Could...

Hi @tsmith023, I went through the `weaviate_grpc` folder and I noticed it already contains `.pyi` stub files. Should I still go on and generate the stubs in my repo?