mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-05 10:23:44 +00:00
fix: mypy
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
234eaf4709
commit
6f552e0a31
3 changed files with 17 additions and 8 deletions
|
|
@ -11,7 +11,9 @@ These responses use OpenAPI $ref references to component responses defined
|
|||
in the OpenAPI specification.
|
||||
"""
|
||||
|
||||
standard_responses = {
|
||||
from typing import Any
|
||||
|
||||
standard_responses: dict[int | str, dict[str, Any]] = {
|
||||
400: {"$ref": "#/components/responses/BadRequest400"},
|
||||
429: {"$ref": "#/components/responses/TooManyRequests429"},
|
||||
500: {"$ref": "#/components/responses/InternalServerError500"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue