feat: support None as return type, such as def func() -> None:

None:

PiperOrigin-RevId: 767204150
This commit is contained in:
Google Team Member 2025-06-04 10:43:03 -07:00 committed by Copybara-Service
parent 984c1d6b8b
commit 54ed031d1a

View File

@ -37,6 +37,7 @@ _py_builtin_type_to_schema_type = {
bool: types.Type.BOOLEAN,
list: types.Type.ARRAY,
dict: types.Type.OBJECT,
None: types.Type.NULL,
}
logger = logging.getLogger('google_adk.' + __name__)