You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2021/12/07 04:36:15 UTC

[GitHub] [submarine] atosystem commented on a change in pull request #817: Submarine 1095. Incorporate Click CLI in SDK

atosystem commented on a change in pull request #817:
URL: https://github.com/apache/submarine/pull/817#discussion_r763621395



##########
File path: submarine-sdk/pysubmarine/submarine/cli/__init__.py
##########
@@ -0,0 +1,54 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+# coding: utf-8
+
+# flake8: noqa
+"""
+    Submarine Command Line Interface
+
+    The Submarine CLI allows you to interact with submarine backend via command line.
+
+    The version of the OpenAPI document: 0.7.0-SNAPSHOT
+    Contact: dev@submarine.apache.org
+    Generated by: https://openapi-generator.tech
+"""
+
+from __future__ import absolute_import
+
+# # import apis into sdk package
+# from submarine.experiment.api.experiment_api import ExperimentApi
+
+# # import ApiClient
+# from submarine.experiment.api_client import ApiClient
+# from submarine.experiment.configuration import Configuration
+# from submarine.experiment.exceptions import (
+#     ApiException,
+#     ApiKeyError,
+#     ApiTypeError,
+#     ApiValueError,
+#     OpenApiException,
+# )
+
+# # import models into sdk package
+# from submarine.experiment.models.code_spec import CodeSpec
+# from submarine.experiment.models.environment_spec import EnvironmentSpec
+# from submarine.experiment.models.experiment_meta import ExperimentMeta
+# from submarine.experiment.models.experiment_spec import ExperimentSpec
+# from submarine.experiment.models.experiment_task_spec import ExperimentTaskSpec
+# from submarine.experiment.models.json_response import JsonResponse
+# from submarine.experiment.models.kernel_spec import KernelSpec

Review comment:
       OK!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@submarine.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org