fix for union

This commit is contained in:
JONEMI21 2026-01-28 12:49:37 +00:00
parent c7e6d8fba6
commit ef3c5fa1f1
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ async def read_required_dict_union(
class QueryModelRequiredDictUnion(BaseModel):
p: dict[str, str] | dict[str, int]
p: Union[dict[str, str], dict[str, int]]
@app.get("/model-required-dict-union")