Auto-format code with black (#11468)

Co-authored-by: explosion-bot <explosion-bot@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2022-09-09 11:21:17 +02:00 committed by GitHub
parent aac9a58c29
commit 0c72c6bb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ def info_installed_model_url(model: str) -> Optional[str]:
# something else, like no file or invalid JSON # something else, like no file or invalid JSON
return None return None
def info_model_url(model: str) -> Dict[str, Any]: def info_model_url(model: str) -> Dict[str, Any]:
"""Return the download URL for the latest version of a pipeline.""" """Return the download URL for the latest version of a pipeline."""
version = get_latest_version(model) version = get_latest_version(model)