Skip to content

Commit

Permalink
Ultralytics Code Refactor https://ultralytics.com/actions (#156)
Browse files Browse the repository at this point in the history
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
  • Loading branch information
glenn-jocher and UltralyticsAssistant committed Jun 30, 2024
1 parent aa09eaf commit 29b513e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hub_sdk/base/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(self, message: str, status_code: Optional[int] = None):
self.message = message

def __str__(self) -> str:
"""Returns a string representation of the APIClientError instance."""
return f"{self.__class__.__name__}: {self.args[0]}"


Expand Down

0 comments on commit 29b513e

Please sign in to comment.