File tree Expand file tree Collapse file tree 6 files changed +4
-18
lines changed
tests/unittests/tools/bigquery Expand file tree Collapse file tree 6 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ class FeatureConfig:
9999 FeatureStage .EXPERIMENTAL , default_on = True
100100 ),
101101 FeatureName .BIG_QUERY_TOOLSET : FeatureConfig (
102- FeatureStage .EXPERIMENTAL , default_on = True
102+ FeatureStage .STABLE , default_on = True
103103 ),
104104 FeatureName .BIG_QUERY_TOOL_CONFIG : FeatureConfig (
105- FeatureStage .EXPERIMENTAL , default_on = True
105+ FeatureStage .STABLE , default_on = True
106106 ),
107107 FeatureName .BIGTABLE_TOOL_SETTINGS : FeatureConfig (
108108 FeatureStage .EXPERIMENTAL , default_on = True
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- """BigQuery Tools (Experimental) .
15+ """BigQuery Tools.
1616
1717BigQuery Tools under this module are hand crafted and customized while the tools
1818under google.adk.tools.google_api_tool are auto generated based on API
Original file line number Diff line number Diff line change 1414
1515from __future__ import annotations
1616
17- from ...features import experimental
1817from ...features import FeatureName
1918from .._google_credentials import BaseGoogleCredentialsConfig
2019
2625BIGQUERY_DEFAULT_SCOPE = ["https://www.googleapis.com/auth/bigquery" ]
2726
2827
29- @experimental (FeatureName .GOOGLE_CREDENTIALS_CONFIG )
3028class BigQueryCredentialsConfig (BaseGoogleCredentialsConfig ):
31- """BigQuery Credentials Configuration for Google API tools (Experimental) .
29+ """BigQuery Credentials Configuration for Google API tools.
3230
3331 Please do not use this in production, as it may be deprecated later.
3432 """
Original file line number Diff line number Diff line change 2525from . import metadata_tool
2626from . import query_tool
2727from . import search_tool
28- from ...features import experimental
2928from ...features import FeatureName
3029from ...tools .base_tool import BaseTool
3130from ...tools .base_toolset import BaseToolset
3534from .config import BigQueryToolConfig
3635
3736
38- @experimental (FeatureName .BIG_QUERY_TOOLSET )
3937class BigQueryToolset (BaseToolset ):
4038 """BigQuery Toolset contains tools for interacting with BigQuery data and metadata."""
4139
Original file line number Diff line number Diff line change 2121from pydantic import ConfigDict
2222from pydantic import field_validator
2323
24- from ...features import experimental
2524from ...features import FeatureName
2625
2726
@@ -48,7 +47,6 @@ class WriteMode(Enum):
4847 """All write operations are allowed."""
4948
5049
51- @experimental (FeatureName .BIG_QUERY_TOOL_CONFIG )
5250class BigQueryToolConfig (BaseModel ):
5351 """Configuration for BigQuery tools."""
5452
Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ def reset_warned_features():
2727 _WARNED_FEATURES .clear ()
2828
2929
30- def test_bigquery_tool_config_experimental_warning ():
31- """Test BigQueryToolConfig experimental warning."""
32- with warnings .catch_warnings (record = True ) as w :
33- BigQueryToolConfig ()
34- assert len (w ) == 1
35- assert "BIG_QUERY_TOOL_CONFIG is enabled." in str (w [0 ].message )
36-
37-
3830def test_bigquery_tool_config_invalid_property ():
3931 """Test BigQueryToolConfig raises exception when setting invalid property."""
4032 with pytest .raises (
You can’t perform that action at this time.
0 commit comments