We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 873df84 + 13835e9 commit 6b76849Copy full SHA for 6b76849
videodb/__about__.py
@@ -1,7 +1,7 @@
1
""" About information for videodb sdk"""
2
3
4
-__version__ = "0.2.7"
+__version__ = "0.2.8"
5
__title__ = "videodb"
6
__author__ = "videodb"
7
__email__ = "contact@videodb.io"
videodb/collection.py
@@ -38,6 +38,15 @@ def __repr__(self) -> str:
38
f"description={self.description})"
39
)
40
41
+ def delete(self) -> None:
42
+ """Delete the collection
43
+
44
+ :raises InvalidRequestError: If the delete fails
45
+ :return: None if the delete is successful
46
+ :rtype: None
47
+ """
48
+ self._connection.delete(path=f"{ApiPath.collection}/{self.id}")
49
50
def get_videos(self) -> List[Video]:
51
videos_data = self._connection.get(
52
path=f"{ApiPath.video}",
0 commit comments