Question: Need help with CRUD what am i missing? need to add the update function and delete function here is my file In [2]: from Animal

Need help with CRUD what am i missing?

In [2]: from Animal Shelter import Animal Shelter #data ("animal_type":"Basset Hound"} #data("animal_id":"Garcia"}
need to add the update function and delete function here is my file
#data("animal_type":"Tiger"} #data ("animal_id":"Bubbles"} #data ("animal_type":"elephant"} adata ('animal id":"Sonny Burnett") #data (animal_type": "Hippo")

In [2]: from Animal Shelter import Animal Shelter #data ("animal_type":"Basset Hound"} #data("animal_id":"Garcia"} #data("animal_type":"Tiger"} #data ("animal_id":"Bubbles"} #data ("animal_type":"elephant"} adata ('animal id":"Sonny Burnett") #data (animal_type": "Hippo") data {"animal_type":"panda","animal_breed":"albino","age":"2 years old","aninal_id":"Ricardo Tubbs") #oops test AnimalShelter('aacuser', 'King') success = test.create (data) print (success) result = test.read(data) print (result) True

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres the updated function def updaterecordself recordid newdata Assumin... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!