Skip to content

Commit

Permalink
bug-1827506: Include the try_symbols flag in the storage backend repr.
Browse files Browse the repository at this point in the history
Co-authored-by: Will Kahn-Greene <willkg@users.noreply.github.com>
  • Loading branch information
smarnach and willkg authored Jul 26, 2024
1 parent a324a95 commit e807085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tecken/ext/gcs/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
self.timeout = (settings.S3_CONNECT_TIMEOUT, settings.S3_READ_TIMEOUT)

def __repr__(self):
return f"<{self.__class__.__name__} gs://{self.bucket}/{self.prefix}>"
return f"<{self.__class__.__name__} gs://{self.bucket}/{self.prefix}> try:{self.try_symbols}"

def _get_client(self) -> storage.Client:
"""Return a thread-local low-level storage client."""
Expand Down
2 changes: 1 addition & 1 deletion tecken/ext/s3/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
self.clients = threading.local()

def __repr__(self):
return f"<{self.__class__.__name__} s3://{self.bucket}/{self.prefix}>"
return f"<{self.__class__.__name__} s3://{self.bucket}/{self.prefix} try:{self.try_symbols}>"

def _get_client(self):
"""Return a backend-specific client."""
Expand Down

0 comments on commit e807085

Please sign in to comment.