mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 10:42:39 +00:00
remove prints
This commit is contained in:
parent
72ca18c406
commit
93c48588c8
1 changed files with 0 additions and 7 deletions
|
@ -520,11 +520,6 @@ class JsonSchemaGenerator:
|
|||
if output_name in f:
|
||||
json_schema_extra = f[output_name].json_schema_extra
|
||||
|
||||
if json_schema_extra:
|
||||
from rich.pretty import pprint
|
||||
|
||||
pprint(json_schema_extra)
|
||||
|
||||
if is_type_optional(property_type):
|
||||
optional_type: type = unwrap_optional_type(property_type)
|
||||
property_def = self.type_to_schema(
|
||||
|
@ -564,8 +559,6 @@ class JsonSchemaGenerator:
|
|||
|
||||
properties[output_name] = property_def
|
||||
|
||||
# print("properties", properties)
|
||||
|
||||
schema = {"type": "object"}
|
||||
if len(properties) > 0:
|
||||
schema["properties"] = typing.cast(JsonType, properties)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue