#2 Added ability for user to login as seller and added test to verify functionality
This commit is contained in:
@@ -26,6 +26,10 @@ class DatabaseController(ABC):
|
||||
self._conn.close()
|
||||
print(e)
|
||||
|
||||
def __del__(self):
|
||||
if self._conn != None:
|
||||
self._conn.close()
|
||||
|
||||
""" Takes a dictionary of fields and returns the object
|
||||
with those fields populated """
|
||||
def new_instance(self, of: type, with_fields: Mapping[str, Any]):
|
||||
|
||||
Reference in New Issue
Block a user