chore: reformat the code with autoformat.sh

PiperOrigin-RevId: 763256626
This commit is contained in:
Xiang (Sean) Zhou 2025-05-25 20:32:49 -07:00 committed by Copybara-Service
parent 98c8a71d67
commit 74a331f1fb
3 changed files with 4 additions and 5 deletions

View File

@ -48,7 +48,7 @@ _OPENAPI_SCHEMA_IGNORE_FIELDS = (
"format",
"additional_properties",
"ref",
"def"
"def",
)

View File

@ -302,8 +302,7 @@ def test_cli_eval_success_path(
stub.try_get_reset_func = lambda _p: None
stub.parse_and_get_evals_to_run = lambda _paths: {"set1.json": ["e1", "e2"]}
eval_sets_manager_stub.load_eval_set_from_file = lambda x, y: EvalSet(
"test_eval_set_id",
[EvalCase("e1"), EvalCase("e2")]
"test_eval_set_id", [EvalCase("e1"), EvalCase("e2")]
)
# Create an async generator function for run_evals

View File

@ -214,9 +214,9 @@ def mock_get_api_client():
'1': MOCK_EVENT_JSON,
}
with mock.patch(
"google.adk.sessions.vertex_ai_session_service._get_api_client",
'google.adk.sessions.vertex_ai_session_service._get_api_client',
return_value=api_client,
):
):
yield