Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
axl1313 committed Jun 17, 2024
1 parent d3ce900 commit 7fdb8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cleanlab_studio/internal/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def deploy_model(api_key: str, cleanset_id: str, model_name: str) -> str:
return model_id


def get_deployment_status(api_key: str, model_id: str) -> JSONDict:
def get_deployment_status(api_key: str, model_id: str) -> str:
"""Gets status of model deployment."""
check_uuid_well_formed(model_id, "model ID")
res = requests.get(
Expand Down
2 changes: 1 addition & 1 deletion cleanlab_studio/studio/studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def deploy_model(self, cleanset_id: str, model_name: str) -> str:
"""
return api.deploy_model(self._api_key, cleanset_id, model_name)

def wait_until_model_ready(self, model_id: str, timeout: Optional[float] = None) -> str:
def wait_until_model_ready(self, model_id: str, timeout: Optional[float] = None) -> None:
"""Blocks until a model is ready or the timeout is reached.
Args:
Expand Down

0 comments on commit 7fdb8d4

Please sign in to comment.