From 6003a63a60d315283e41c7da50be79768149f839 Mon Sep 17 00:00:00 2001 From: IronPan Date: Mon, 26 Nov 2018 12:50:18 -0800 Subject: [PATCH] move default gcp op to dsl/ (#376) --- sdk/python/kfp/dsl/__init__.py | 1 + .../default_gcp_op.py => _default_gcp_op.py} | 0 sdk/python/kfp/dsl/components/__init__.py | 15 --------------- 3 files changed, 1 insertion(+), 15 deletions(-) rename sdk/python/kfp/dsl/{components/default_gcp_op.py => _default_gcp_op.py} (100%) delete mode 100644 sdk/python/kfp/dsl/components/__init__.py diff --git a/sdk/python/kfp/dsl/__init__.py b/sdk/python/kfp/dsl/__init__.py index ac44ae5e1c6..5e389b2fbfe 100644 --- a/sdk/python/kfp/dsl/__init__.py +++ b/sdk/python/kfp/dsl/__init__.py @@ -18,3 +18,4 @@ from ._container_op import ContainerOp from ._ops_group import OpsGroup, ExitHandler, Condition from ._component import python_component +from ._default_gcp_op import default_gcp_op diff --git a/sdk/python/kfp/dsl/components/default_gcp_op.py b/sdk/python/kfp/dsl/_default_gcp_op.py similarity index 100% rename from sdk/python/kfp/dsl/components/default_gcp_op.py rename to sdk/python/kfp/dsl/_default_gcp_op.py diff --git a/sdk/python/kfp/dsl/components/__init__.py b/sdk/python/kfp/dsl/components/__init__.py deleted file mode 100644 index a239d051517..00000000000 --- a/sdk/python/kfp/dsl/components/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from .default_gcp_op import default_gcp_op \ No newline at end of file