8000 chore: use relative import in google_api_toolsets.py. Adds open sourc… · linuxem/adk-python@fe618c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe618c3

Browse files
Jacksunweicopybara-github
authored andcommitted
chore: use relative import in google_api_toolsets.py. Adds open source header for base_toolset.py
PiperOrigin-RevId: 762042799
1 parent a63ea27 commit fe618c3

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/google/adk/tools/base_toolset.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
116
from abc import ABC
217
from abc import abstractmethod
318
from typing import List

src/google/adk/tools/google_api_tool/google_api_toolsets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
from typing import Optional
1919
from typing import Union
2020

21-
from google.adk.tools.base_toolset import ToolPredicate
22-
21+
from ..base_toolset import ToolPredicate
2322
from .google_api_toolset import GoogleApiToolset
2423

2524
logger = logging.getLogger("google_adk." + __name__)

0 commit comments

Comments
 (0)
0