Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312969
D7709.id27881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
622 B
Subscribers
None
D7709.id27881.diff
View Options
diff --git a/swh/storage/api/client.py b/swh/storage/api/client.py
--- a/swh/storage/api/client.py
+++ b/swh/storage/api/client.py
@@ -42,10 +42,10 @@
def content_add(self, content: Iterable[Union[Content, Dict[str, Any]]]):
content = [c.with_data() if isinstance(c, Content) else c for c in content]
- return self.post("content/add", {"content": content})
+ return self._post("content/add", {"content": content})
def reset(self):
- return self.post("reset", {})
+ return self._post("reset", {})
def stat_counters(self):
return self.get("stat/counters")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 11:17 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228208
Attached To
D7709: client: Migrate to _post method call to stop deprecation warnings
Event Timeline
Log In to Comment