chore: reformat the code using autoformat.sh.

PiperOrigin-RevId: 764918729
This commit is contained in:
Liang Wu
2025-05-29 15:55:32 -07:00
committed by Copybara-Service
parent db4bc9809c
commit 41ba2d1c8a
2 changed files with 10 additions and 7 deletions

View File

@@ -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(