Skip to content

Commit fbd03b1

Browse files
Ark-kuncopybara-github
authored andcommitted
feat: Added the new root vertexai package
PiperOrigin-RevId: 529236549
1 parent 43488fe commit fbd03b1

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
packages = [
3737
package
3838
for package in setuptools.PEP420PackageFinder.find()
39-
if package.startswith("google")
39+
if package.startswith("google") or package.startswith("vertexai")
4040
]
4141

4242
tensorboard_extra_require = ["tensorflow >=2.3.0, <3.0.0dev"]

vertexai/__init__.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2023 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+
"""The vertexai module."""
16+
17+
from google.cloud.aiplatform.aiplatform import init
18+
19+
__all__ = [
20+
"init",
21+
]

0 commit comments

Comments
 (0)