Skip to content

Commit 59c0856

Browse files
committed
fix bug
Signed-off-by: eric-epsilla <eric@epsilla.com>
1 parent cac04fb commit 59c0856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyepsilla/cloud/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_db_list(self):
5454
return db_list
5555

5656
def load_db(self, db_name: str, db_path: str):
57-
db_id = db_name.lstripe("db_").replace("_", "-")
57+
db_id = db_name.lstrip("db_").replace("_", "-")
5858
req_url = f"{self._baseurl}/vectordb/{db_id}/load"
5959
resp = requests.post(url=req_url, data=None, headers=self._header, verify=False)
6060
status_code = resp.status_code

0 commit comments

Comments
 (0)