mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
feat: support None as return type, such as def func() -> None:
None: PiperOrigin-RevId: 767204150
This commit is contained in:
parent
984c1d6b8b
commit
54ed031d1a
@ -37,6 +37,7 @@ _py_builtin_type_to_schema_type = {
|
|||||||
bool: types.Type.BOOLEAN,
|
bool: types.Type.BOOLEAN,
|
||||||
list: types.Type.ARRAY,
|
list: types.Type.ARRAY,
|
||||||
dict: types.Type.OBJECT,
|
dict: types.Type.OBJECT,
|
||||||
|
None: types.Type.NULL,
|
||||||
}
|
}
|
||||||
|
|
||||||
logger = logging.getLogger('google_adk.' + __name__)
|
logger = logging.getLogger('google_adk.' + __name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user