Skip to content

Commit 60c1ee1

Browse files
committed
fix: remove checkouts
1 parent a8f6ea5 commit 60c1ee1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

videodb/_constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class ApiPath:
5050
delete = "delete"
5151
billing = "billing"
5252
usage = "usage"
53-
checkout = "checkout"
54-
checkouts = "checkouts"
5553
invoices = "invoices"
5654

5755

videodb/client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ def update_collection(self, id: str, name: str, description: str) -> Collection:
8787
def check_usage(self) -> dict:
8888
return self.get(path=f"{ApiPath.billing}/{ApiPath.usage}")
8989

90-
def checkout(self, amount=100) -> dict:
91-
return self.post(
92-
path=f"{ApiPath.billing}/{ApiPath.checkout}", data={"amount": amount}
93-
)
94-
9590
def get_invoices(self) -> List[dict]:
9691
return self.get(path=f"{ApiPath.billing}/{ApiPath.invoices}")
9792

0 commit comments

Comments
 (0)