mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
Fix openapi generator and regenerator OpenAPI types
This commit is contained in:
parent
343458479d
commit
47e7c2dc15
3 changed files with 1137 additions and 264 deletions
|
@ -358,6 +358,7 @@ def unwrap_union_types(typ: object) -> Tuple[object, ...]:
|
|||
:returns: The inner types `T1`, `T2`, etc.
|
||||
"""
|
||||
|
||||
typ = unwrap_annotated_type(typ)
|
||||
return _unwrap_union_types(typ)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue