llama-stack-mirror/docs/openapi_generator/pyopenapi
Ihar Hrachyshka 9e6561a1ec
chore: enable pyupgrade fixes (#1806)
# 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>
2025-05-01 14:23:50 -07:00
..
__init__.py move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
generator.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
operations.py fix: some telemetry APIs don't currently work (#1188) 2025-02-20 14:09:25 -08:00
options.py feat: enhance OpenAPI spec to include Error types (#1320) 2025-02-28 11:16:12 -08:00
README.md move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
specification.py feat: adding endpoints for files and uploads (#1070) 2025-02-20 13:09:00 -08:00
template.html fix: update CDN url for stoplight 2025-03-14 15:46:45 -07:00
utility.py fix(api): don't return list for runtime tools (#1686) 2025-04-01 09:53:11 +02:00