8000 chore: Batch organize imports with isort. · Cached22/adk-python@1773cda · GitHub
[go: up one dir, main page]

Skip to content

Commit 1773cda

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: Batch organize imports with isort.
Command: `isort /src` PiperOrigin-RevId: 761644934
1 parent 1807e73 commit 1773cda

34 files changed

+96
-39
lines changed

src/google/adk/agents/callback_context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
from __future__ import annotations
1616

17-
from typing import Optional, TYPE_CHECKING
17+
from typing import Optional
18+
from typing import TYPE_CHECKING
1819

1920
from typing_extensions import override
2021

src/google/adk/agents/readonly_context.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
from __future__ import annotations
1616

1717
from types import MappingProxyType
18-
from typing import Any, Optional
18+
from typing import Any
19+
from typing import Optional
1920
from typing import TYPE_CHECKING
2021

2122
if TYPE_CHECKING:
2223
from google.genai import types
24+
2325
from .invocation_context import InvocationContext
2426

2527

src/google/adk/auth/auth_credential.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
# limitations under the License.
1414

1515
from enum import Enum
16-
from typing import Any, Dict, List, Optional
16+
from typing import Any
17+
from typing import Dict
18+
from typing import List
19+
from typing import Optional
1720

1821
from pydantic import alias_generators
1922
from pydantic import BaseModel

src/google/adk/cli/utils/evals.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from typing import Any, Tuple
15+
from typing import Any
16+
from typing import Tuple
1617

1718
from deprecated import deprecated
1819
from google.genai import types as genai_types

src/google/adk/code_executors/code_execution_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
import copy
2020
import dataclasses
2121
import re
22-
from typing import List, Optional
22+
from typing import List
23+
from typing import Optional
2324

2425
from google.genai import types
2526

src/google/adk/code_executors/container_code_executor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from .code_execution_utils import CodeExecutionInput
2828
from .code_execution_utils import CodeExecutionResult
2929

30-
3130
DEFAULT_IMAGE_TAG = 'adk-code-executor:latest'
3231

3332

src/google/adk/code_executors/vertex_ai_code_executor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
import datetime
1616
import mimetypes
1717
import os
18-
from typing import Any, Optional
18+
from typing import Any
19+
from typing import Optional
1920

2021
from typing_extensions import override
2122
from vertexai.preview.extensions import Extension

src/google/adk/evaluation/eval_case.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
# limitations under the License.
1414

1515

16-
from typing import Any, Optional, Tuple
16+
from typing import Any
17+
from typing import Optional
18+
from typing import Tuple
1719

1820
from google.genai import types as genai_types
1921
from pydantic import alias_generators

src/google/adk/evaluation/eval_set.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
# limitations under the License.
1414

1515
from typing import Optional
16+
1617
from pydantic import BaseModel
18+
1719
from .eval_case import EvalCase
1820

1921

src/google/adk/evaluation/eval_set_results_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from abc import ABC, abstractmethod
15+
from abc import ABC
16+
from abc import abstractmethod
1617

1718
from ..cli.cli_eval import EvalCaseResult
1819
from ..cli.cli_eval import EvalSetResult

0 commit comments

Comments
 (0)
0