diff --git a/swh/core/api/__init__.py b/swh/core/api/__init__.py --- a/swh/core/api/__init__.py +++ b/swh/core/api/__init__.py @@ -227,6 +227,9 @@ ) return decode_response(response) + def __repr__(self): + return '<{} url={}>'.format(self.__class__.__name__, self.url) + class BytesRequest(Request): """Request with proper escaping of arbitrary byte sequences."""