from AnimalShelter import AnimalShelter test = AnimalShelter() test_criteria = {"breed": "Pit Bull Mix"} test_data = test.read(criteria=test_criteria) for object in test_data: print(object) test_data = { 'rec_num': 10001, 'age_upon_outcome': '3 years', 'animal_id': 'FA69420', 'animal_type': 'Furry', 'breed': 'Protogen', 'color': 'Purple', 'date_of_birth': '1999-12-25', 'datetime': '2019-10-11 10:03:00', 'monthyear': '2019-10-11T10:03:00', 'name': '*Brex', 'outcome_subtype': 'Foster', 'outcome_type': 'Adoption', 'sex_upon_outcome': 'Male i think', 'location_lat': 30.7118766251975, 'location_long': -97.2999365773623, 'age_upon_outcome_in_weeks': 558.059821428571 } test.create(test_data)