Added missing comment
This commit is contained in:
parent
e0b04d13f6
commit
79231a1f0d
@ -15,6 +15,8 @@ class DatabaseController(ABC):
|
||||
self._conn.close()
|
||||
print(e)
|
||||
|
||||
""" Takes a dictionary of fields and returns the object
|
||||
with those fields populated """
|
||||
def new_instance(self, of: type, with_fields: Mapping[str, Any]):
|
||||
obj = of.__new__(of)
|
||||
for attr, value in with_fields.items():
|
||||
|
Loading…
Reference in New Issue
Block a user