mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 12:37:33 +00:00
Add strong_typing, add defaults
This commit is contained in:
parent
98da002b4c
commit
2f6ce08315
24 changed files with 5170 additions and 109 deletions
|
@ -9,9 +9,9 @@ import ipaddress
|
|||
import typing
|
||||
from typing import Any, Dict, Set, Union
|
||||
|
||||
from strong_typing.core import JsonType
|
||||
from strong_typing.docstring import Docstring, parse_type
|
||||
from strong_typing.inspection import (
|
||||
from ..strong_typing.core import JsonType
|
||||
from ..strong_typing.docstring import Docstring, parse_type
|
||||
from ..strong_typing.inspection import (
|
||||
is_generic_list,
|
||||
is_type_optional,
|
||||
is_type_union,
|
||||
|
@ -19,15 +19,15 @@ from strong_typing.inspection import (
|
|||
unwrap_optional_type,
|
||||
unwrap_union_types,
|
||||
)
|
||||
from strong_typing.name import python_type_to_name
|
||||
from strong_typing.schema import (
|
||||
from ..strong_typing.name import python_type_to_name
|
||||
from ..strong_typing.schema import (
|
||||
get_schema_identifier,
|
||||
JsonSchemaGenerator,
|
||||
register_schema,
|
||||
Schema,
|
||||
SchemaOptions,
|
||||
)
|
||||
from strong_typing.serialization import json_dump_string, object_to_json
|
||||
from ..strong_typing.serialization import json_dump_string, object_to_json
|
||||
|
||||
from .operations import (
|
||||
EndpointOperation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue