Skip to content

Commit d26bd5c

Browse files
committed
build: udpate version
- fix is_public self variable
1 parent 3a89057 commit d26bd5c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

videodb/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" About information for videodb sdk"""
22

33

4-
__version__ = "0.2.8"
4+
__version__ = "0.2.9"
55
__title__ = "videodb"
66
__author__ = "videodb"
77
__email__ = "contact@videodb.io"

videodb/collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,10 @@ def make_public(self):
182182
self._connection.patch(
183183
path=f"{ApiPath.collection}/{self.id}", data={"is_public": True}
184184
)
185+
self.is_public = True
185186

186187
def make_private(self):
187188
self._connection.patch(
188189
path=f"{ApiPath.collection}/{self.id}", data={"is_public": False}
189190
)
191+
self.is_public = False

0 commit comments

Comments
 (0)