Guest User

Untitled

a guest
Feb 11th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. # This method will add a normalized person
  2. # record to our members array
  3. def _add_person_record(self, dict):
  4. person = {
  5. 'id': self._get_id(dict),
  6. 'active': self._get_active(dict),
  7. 'lastName': self._get_last_name(dict),
  8. 'firstName': self._get_first_name(dict),
  9. 'middleName':self._get_middle_name(dict),
  10. 'gender': self._get_gender(dict),
  11. 'party': self._get_party(dict),
  12. 'council' : self._get_council(dict),
  13. 'electedDate': self._get_elected_date(dict),
  14. 'birthDate': self._get_birthdate(dict),
  15. 'maritalStatus': self._get_marital_status(dict),
  16. 'title': self._get_title(dict),
  17. 'statePostalCode': self._get_state_postal_code(dict),
  18. 'district': self._get_district(dict),
  19. 'zip': self._get_zip(dict),
  20. 'townName': self._get_town_name(dict)
  21. }
  22. self._members.append(person)
Add Comment
Please, Sign In to add comment