fix(db)!: Base methods should throw NotImplementedError
This commit is contained in:
parent
0d80f6ac52
commit
dae57d0de2
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue