Skip to content

Commit

Permalink
fix lint: line length
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Winter <[email protected]>
  • Loading branch information
markwinter committed Jun 21, 2022
1 parent 1961ae4 commit 064439b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions backend/apps/v1beta1/routes/put.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
log = logging.getLogger(__name__)


@bp.route("/api/namespaces/<namespace>/inferenceservices/<isvc>", methods=["PUT"])
@bp.route("/api/namespaces/<namespace>/inferenceservices/<isvc>",
methods=["PUT"])
@decorators.request_is_json_type
@decorators.required_body_params("apiVersion", "kind", "metadata", "spec")
def replace_inference_service(namespace: str, isvc: str):
Expand All @@ -31,4 +32,7 @@ def replace_inference_service(namespace: str, isvc: str):
name=isvc,
body=cr)

return api.success_response("message", "InferenceService successfully updated")
return api.success_response(
"message",
"InferenceService successfully updated"
)

0 comments on commit 064439b

Please sign in to comment.