From 29b513e81555e865caa188f0c628ee1297d51120 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 30 Jun 2024 12:34:21 +0200 Subject: [PATCH] Ultralytics Code Refactor https://ultralytics.com/actions (#156) Co-authored-by: UltralyticsAssistant --- hub_sdk/base/api_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hub_sdk/base/api_client.py b/hub_sdk/base/api_client.py index 1710f43..f2d2cd8 100644 --- a/hub_sdk/base/api_client.py +++ b/hub_sdk/base/api_client.py @@ -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]}"