From 1194f8b15c1daca1500b961bbbe63f77c9d56fc4 Mon Sep 17 00:00:00 2001 From: Julien Simon Date: Mon, 22 Jul 2024 11:24:05 +0200 Subject: [PATCH] deployment_status(): rename parameter for API consistency (#71) * rename deployment parameter to deployment_name --- arcee/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arcee/api.py b/arcee/api.py index 1758ddc..604e838 100644 --- a/arcee/api.py +++ b/arcee/api.py @@ -451,15 +451,15 @@ def stop_deployment(deployment_name: str) -> Dict[str, str]: return make_request("post", Route.deployment + "/stopDeployment", data) -def deployment_status(deployment: str) -> Dict[str, str]: +def deployment_status(deployment_name: str) -> Dict[str, str]: """ Check the status of a deployment Args: - deployment (str): The name of the deployment to check the status + deployment_name (str): The name of the deployment to check the status """ - data = {"deployment_name": deployment} + data = {"deployment_name": deployment_name} return make_request("get", Route.deployment + "/status", data)