mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Please expose the contents of the _type file to allow for better static type analysis
#139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @johnch18 on GitHub (Sep 10, 2024).
Originally assigned to: @mxyng on GitHub.
I am writing some wrapper/library code using Ollama, and I'm running into issues when trying to type hint. Not all of the types used in the library are public, and I would appreciate if that were to be remedied.
The simplest fix at present would be to include the contents of
_typein the ollama__init__file.Thanks
@mxyng commented on GitHub (Sep 10, 2024):
More types will be exported in the next release. I have a change almost ready for a PR