Skip to content

Commit 8364442

Browse files
committed
chore: apply formatting hooks
1 parent 9c2e3aa commit 8364442

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"backendUrl": ""
3-
}
3+
}

src/google/adk/models/lite_llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def _parse_tool_call_arguments(arguments: Any) -> Any:
217217

218218
raise json_error
219219

220+
220221
# File MIME types supported for upload as file content (not decoded as text).
221222
# Note: text/* types are handled separately and decoded as text content.
222223
# These types are uploaded as files to providers that support it.

tests/unittests/cli/utils/test_gcp_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@ def test_sign_up_express(self, mock_auth_default, mock_session_cls):
140140
},
141141
)
142142

143-
@mock.patch(
144-
"google.cloud.resourcemanager_v3.ProjectsClient"
145-
)
143+
@mock.patch("google.cloud.resourcemanager_v3.ProjectsClient")
146144
def test_list_gcp_projects(self, mock_client_cls):
147145
mock_client = mock.Mock()
148146
mock_client_cls.return_value = mock_client
@@ -165,7 +163,8 @@ def test_list_gcp_projects(self, mock_client_cls):
165163
@mock.patch.dict("sys.modules", {"google.cloud": None})
166164
def test_list_gcp_projects_import_error(self):
167165
with self.assertRaisesRegex(
168-
RuntimeError, "Listing GCP projects requires the 'gcp' optional dependency"
166+
RuntimeError,
167+
"Listing GCP projects requires the 'gcp' optional dependency",
169168
):
170169
gcp_utils.list_gcp_projects()
171170

0 commit comments

Comments
 (0)