Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124737
D1260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
581 B
Subscribers
None
D1260.diff
View Options
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
@@ -141,8 +141,8 @@
This backend class will never be instantiated, it only serves as
a template."""
- def __init__(self, api_exception, url, timeout=None, chunk_size=4096):
- super().__init__()
+ def __init__(self, api_exception, url,
+ timeout=None, chunk_size=4096, **kwargs):
self.api_exception = api_exception
base_url = url if url.endswith('/') else url + '/'
self.url = base_url
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 6:10 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221538
Attached To
D1260: api: kind of fix for the SWHRemoteAPI's contructor
Event Timeline
Log In to Comment