|
46 | 46 | from google.cloud.aiplatform.tensorboard.plugins.tf_profiler import profile_uploader |
47 | 47 | import google.cloud.aiplatform.tensorboard.uploader as uploader_lib |
48 | 48 | from google.cloud import storage |
49 | | -from google.cloud.aiplatform.compat.services import tensorboard_service_client_v1beta1 |
50 | | -from google.cloud.aiplatform_v1beta1.services.tensorboard_service.transports import ( |
51 | | - grpc as transports_grpc, |
52 | | -) |
53 | | -from google.cloud.aiplatform.compat.types import ( |
54 | | - tensorboard_data_v1beta1 as tensorboard_data, |
55 | | - tensorboard_service_v1beta1 as tensorboard_service, |
| 49 | +from google.cloud.aiplatform_v1.services.tensorboard_service import ( |
| 50 | + client as tensorboard_service_client, |
56 | 51 | ) |
57 | | -from google.cloud.aiplatform.compat.types import ( |
58 | | - tensorboard_experiment_v1beta1 as tensorboard_experiment_type, |
| 52 | +from google.cloud.aiplatform_v1.services.tensorboard_service.transports import ( |
| 53 | + grpc as transports_grpc, |
59 | 54 | ) |
60 | | -from google.cloud.aiplatform.compat.types import ( |
61 | | - tensorboard_run_v1beta1 as tensorboard_run_type, |
| 55 | +from google.cloud.aiplatform_v1.types import tensorboard_data |
| 56 | +from google.cloud.aiplatform_v1.types import tensorboard_service |
| 57 | +from google.cloud.aiplatform_v1.types import ( |
| 58 | + tensorboard_experiment as tensorboard_experiment_type, |
62 | 59 | ) |
63 | | -from google.cloud.aiplatform.compat.types import ( |
64 | | - tensorboard_time_series_v1beta1 as tensorboard_time_series_type, |
| 60 | +from google.cloud.aiplatform_v1.types import tensorboard_run as tensorboard_run_type |
| 61 | +from google.cloud.aiplatform_v1.types import ( |
| 62 | + tensorboard_time_series as tensorboard_time_series_type, |
65 | 63 | ) |
66 | 64 | from google.protobuf import timestamp_pb2 |
67 | 65 | from google.protobuf import message |
@@ -160,7 +158,7 @@ def create_tensorboard_time_series( |
160 | 158 | service_descriptors=[], time=grpc_testing.strict_real_time() |
161 | 159 | ) |
162 | 160 | mock_client = mock.Mock( |
163 | | - spec=tensorboard_service_client_v1beta1.TensorboardServiceClient( |
| 161 | + spec=tensorboard_service_client.TensorboardServiceClient( |
164 | 162 | transport=transports_grpc.TensorboardServiceGrpcTransport( |
165 | 163 | channel=test_channel |
166 | 164 | ) |
|
0 commit comments