Skip to content

Commit 7215940

Browse files
authored
feat: adding TB.gcp uploader to python-aiplatform (#368)
1 parent c32902e commit 7215940

File tree

9 files changed

+3104
-2
lines changed

9 files changed

+3104
-2
lines changed

google/cloud/aiplatform/compat/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
services.specialist_pool_service_client_v1beta1
3636
)
3737
services.metadata_service_client = services.metadata_service_client_v1beta1
38+
services.tensorboard_service_client = services.tensorboard_service_client_v1beta1
3839

3940
types.accelerator_type = types.accelerator_type_v1beta1
4041
types.annotation = types.annotation_v1beta1
@@ -71,6 +72,12 @@
7172
types.specialist_pool_service = types.specialist_pool_service_v1beta1
7273
types.training_pipeline = types.training_pipeline_v1beta1
7374
types.metadata_service = types.metadata_service_v1beta1
75+
types.tensorboard_service = types.tensorboard_service_v1beta1
76+
types.tensorboard_data = types.tensorboard_data_v1beta1
77+
types.tensorboard_experiment = types.tensorboard_experiment_v1beta1
78+
types.tensorboard_run = types.tensorboard_run_v1beta1
79+
types.tensorboard_service = types.tensorboard_service_v1beta1
80+
types.tensorboard_time_series = types.tensorboard_time_series_v1beta1
7481

7582
if DEFAULT_VERSION == V1:
7683

google/cloud/aiplatform/compat/services/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
from google.cloud.aiplatform_v1beta1.services.metadata_service import (
4040
client as metadata_service_client_v1beta1,
4141
)
42+
from google.cloud.aiplatform_v1beta1.services.tensorboard_service import (
43+
client as tensorboard_service_client_v1beta1,
44+
)
4245

4346
from google.cloud.aiplatform_v1.services.dataset_service import (
4447
client as dataset_service_client_v1,
@@ -80,4 +83,5 @@
8083
prediction_service_client_v1beta1,
8184
specialist_pool_service_client_v1beta1,
8285
metadata_service_client_v1beta1,
86+
tensorboard_service_client_v1beta1,
8387
)

google/cloud/aiplatform/compat/types/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
specialist_pool_service as specialist_pool_service_v1beta1,
5252
training_pipeline as training_pipeline_v1beta1,
5353
metadata_service as metadata_service_v1beta1,
54+
tensorboard_service as tensorboard_service_v1beta1,
55+
tensorboard_data as tensorboard_data_v1beta1,
56+
tensorboard_experiment as tensorboard_experiment_v1beta1,
57+
tensorboard_run as tensorboard_run_v1beta1,
58+
tensorboard_service as tensorboard_service_v1beta1,
59+
tensorboard_time_series as tensorboard_time_series_v1beta1,
5460
)
5561
from google.cloud.aiplatform_v1.types import (
5662
accelerator_type as accelerator_type_v1,
@@ -157,4 +163,10 @@
157163
specialist_pool_service_v1beta1,
158164
training_pipeline_v1beta1,
159165
metadata_service_v1beta1,
166+
tensorboard_service_v1beta1,
167+
tensorboard_data_v1beta1,
168+
tensorboard_experiment_v1beta1,
169+
tensorboard_run_v1beta1,
170+
tensorboard_service_v1beta1,
171+
tensorboard_time_series_v1beta1,
160172
)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright 2021 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#

0 commit comments

Comments
 (0)