Restore could easily be replaced by going through the items in the contact dictionary and then settings the attributes on the Contact class instance.
Only contact_id and frames are odd ducks, which could be caught using a simple if/else statement or better yet, should be refactored so they adhere to the same format as the rest.
With regards to contact_id, I wonder why I ever bothered to split it like that in the first place
Restore could easily be replaced by going through the items in the contact dictionary and then settings the attributes on the Contact class instance.
Only contact_id and frames are odd ducks, which could be caught using a simple if/else statement or better yet, should be refactored so they adhere to the same format as the rest.
With regards to contact_id, I wonder why I ever bothered to split it like that in the first place