From 2f8bb91e6bdbcc3751dcb994dfc3534a0819444b Mon Sep 17 00:00:00 2001 From: Thiago Salvatore Date: Thu, 17 Jul 2025 18:21:40 -0300 Subject: [PATCH] add docstring --- src/google/adk/models/lite_llm.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/google/adk/models/lite_llm.py b/src/google/adk/models/lite_llm.py index 5ffcf630..ddce6a73 100644 --- a/src/google/adk/models/lite_llm.py +++ b/src/google/adk/models/lite_llm.py @@ -314,6 +314,12 @@ def _schema_to_dict(schema: types.Schema) -> dict: """ Recursively converts a types.Schema to a pure-python dict with all enum values written as lower-case strings. + + Args: + schema: The schema to convert. + + Returns: + The dictionary representation of the schema. """ # Dump without json encoding so we still get Enum members schema_dict = schema.model_dump(exclude_none=True)