Skip to content

Commit

Permalink
Remove version from generated python client header comment (#3948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy authored Jun 10, 2020
1 parent f7623db commit 19ff1b2
Show file tree
Hide file tree
Showing 90 changed files with 107 additions and 175 deletions.
2 changes: 1 addition & 1 deletion backend/api/build_kfp_server_api_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo "Removing old content in DIR first."
rm -rf "$DIR"

echo "Generating python code from swagger json in $DIR."
java -jar "$codegen_file" generate -g python -i "$swagger_file" -o "$DIR" -c <(echo '{
java -jar "$codegen_file" generate -g python -t "$CURRENT_DIR/python_http_client_template" -i "$swagger_file" -o "$DIR" -c <(echo '{
"packageName": "kfp_server_api",
"packageVersion": "'"$VERSION"'",
"packageUrl": "https://github.com/kubeflow/pipelines"
Expand Down
3 changes: 1 addition & 2 deletions backend/api/python_http_client/kfp_server_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
3 changes: 1 addition & 2 deletions backend/api/python_http_client/kfp_server_api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
3 changes: 1 addition & 2 deletions backend/api/python_http_client/kfp_server_api/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition. # noqa: E501
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
The version of the OpenAPI document: 1.0.0-rc.1
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
Expand Down
Loading

0 comments on commit 19ff1b2

Please sign in to comment.