fix(db)!: Base methods should throw NotImplementedError

This commit is contained in:
gavin 2022-05-23 12:45:42 +05:30
parent 0d80f6ac52
commit dae57d0de2

View file

@ -82,10 +82,11 @@ class Database(object):
self._conn.select_db(db_name)
def get_connection(self):
pass
"""Returns a Database connection object that conforms with https://peps.python.org/pep-0249/#connection-objects"""
raise NotImplementedError
def get_database_size(self):
pass
raise NotImplementedError
def sql(
self,