NameError Traceback (most recent call last)
Cell In[52], line 2
1 #Another way of manually creating a database is to have the data in a separate dictionary and then write it into an instantiated database:
----> 2 db2 = Database("example")
3 example_data = {
4 ("example", "A"): {
5 "name": "A",
(...)
21 }
22 }
24 db2.write(example_data)
NameError Traceback (most recent call last) Cell In[52], line 2 1 #Another way of manually creating a database is to have the data in a separate dictionary and then write it into an instantiated database: ----> 2 db2 = Database("example") 3 example_data = { 4 ("example", "A"): { 5 "name": "A", (...) 21 } 22 } 24 db2.write(example_data)
NameError: name 'Database' is not defined