13 lines
289 B
Python
13 lines
289 B
Python
from AnimalShelter import AnimalShelter
|
|
test = AnimalShelter(
|
|
password='Ex9Ai3Y2eP',
|
|
host='db'
|
|
)
|
|
|
|
test_criteria = {"breed": "Protogen"}
|
|
test_data = test.read(criteria=test_criteria)
|
|
|
|
for object in test_data:
|
|
print(object)
|
|
|
|
test.delete(criteria={"breed": "Protogen"}, once=True) |