]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
pydantic : replace uses of __annotations__ with get_type_hints (#8474)
authorcompilade <redacted>
Sun, 14 Jul 2024 23:51:21 +0000 (19:51 -0400)
committerGitHub <redacted>
Sun, 14 Jul 2024 23:51:21 +0000 (19:51 -0400)
commit090fca7a073efe9ad3dd2b9ac12491a4f20ac957
tree2b0c2da4475172fcc23a9f974e811ebcd21a1443
parentaaab2419eaa17ab3aa38f4ba49c7eea406999e99
pydantic : replace uses of __annotations__ with get_type_hints (#8474)

* pydantic : replace uses of __annotations__ with get_type_hints

* pydantic : fix Python 3.9 and 3.10 support
examples/pydantic_models_to_grammar.py
examples/pydantic_models_to_grammar_examples.py
requirements/requirements-pydantic.txt