mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-19 03:42:22 -06:00
chore: reformat the code using autoformat.sh.
PiperOrigin-RevId: 764918729
This commit is contained in:
committed by
Copybara-Service
parent
db4bc9809c
commit
41ba2d1c8a
@@ -343,7 +343,9 @@ def from_function_with_options(
|
||||
)
|
||||
# This snippet catches the case when type hints are stored as strings
|
||||
if isinstance(return_value.annotation, str):
|
||||
return_value = return_value.replace(annotation=typing.get_type_hints(func)["return"])
|
||||
return_value = return_value.replace(
|
||||
annotation=typing.get_type_hints(func)['return']
|
||||
)
|
||||
|
||||
declaration.response = (
|
||||
_function_parameter_parse_util._parse_schema_from_parameter(
|
||||
|
||||
Reference in New Issue
Block a user