ollama-python
ollama-python copied to clipboard
Add py.typed to mark the library as typed
Removes an error like this:
error: Skipping analyzing "ollama":
module is installed, but missing library stubs or py.typed marker [import-untyped]
when running mypy over code that uses the library.
@jmorganca Any updates on this? It is quite hard to tell who the maintainer of this project is.
I don't use poetry but I would be very surprised if it doesn't automatically include py.typed
in the distribution package.
@bpshaver You may be right, but I remember us needing to do this to convince Poetry to include it when building Textual; perhaps that's changed in the last year or so?
Just did a test build without the include
and it does look like it does include it anyway.