Skip to content

Commit

Permalink
deployment_status(): rename parameter for API consistency (#71) (#72)
Browse files Browse the repository at this point in the history
* rename deployment parameter to deployment_name

Co-authored-by: Julien Simon <[email protected]>
Co-authored-by: Jacobsolawetz <[email protected]>
  • Loading branch information
3 people authored Jul 22, 2024
1 parent e280947 commit 1cb8369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arcee/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,15 +453,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)

Expand Down

0 comments on commit 1cb8369

Please sign in to comment.