mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-24 08:47:26 +00:00
# What does this PR do? The goal of this PR is code base modernization. Schema reflection code needed a minor adjustment to handle UnionTypes and collections.abc.AsyncIterator. (Both are preferred for latest Python releases.) Note to reviewers: almost all changes here are automatically generated by pyupgrade. Some additional unused imports were cleaned up. The only change worth of note can be found under `docs/openapi_generator` and `llama_stack/strong_typing/schema.py` where reflection code was updated to deal with "newer" types. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auxiliary.py | ||
| classdef.py | ||
| core.py | ||
| deserializer.py | ||
| docstring.py | ||
| exception.py | ||
| inspection.py | ||
| mapping.py | ||
| name.py | ||
| py.typed | ||
| schema.py | ||
| serialization.py | ||
| serializer.py | ||
| slots.py | ||
| topological.py | ||