upfate voter mapping
This commit is contained in:
parent
335ae7a921
commit
cc24c79054
|
|
@ -528,12 +528,12 @@ class AFCMUniverseMapFile:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def get_voter_object(self, voterset_key : str, campaign_key : str) -> dict:
|
def get_voter_object(self, voterset_key : str, business_key : str) -> dict:
|
||||||
"""
|
"""
|
||||||
get_voter_object Get the voter to the API object
|
get_voter_object Get the voter to the API object
|
||||||
|
|
||||||
:param voterset_key: Voterset key of the voter
|
:param voterset_key: Voterset key of the voter
|
||||||
:param campaign_key: Campaign key of the voter
|
:param business_key: Business key of the voter
|
||||||
|
|
||||||
:return Dictionary object of the AF-VOTER
|
:return Dictionary object of the AF-VOTER
|
||||||
"""
|
"""
|
||||||
|
|
@ -553,7 +553,7 @@ class AFCMUniverseMapFile:
|
||||||
"first_name": voter_row['FName'],
|
"first_name": voter_row['FName'],
|
||||||
"last_name": voter_row['LName'],
|
"last_name": voter_row['LName'],
|
||||||
"voterset_keys": [voterset_key],
|
"voterset_keys": [voterset_key],
|
||||||
"campaign_key": campaign_key,
|
"business_key": business_key,
|
||||||
"data_fields": data_fields_dict,
|
"data_fields": data_fields_dict,
|
||||||
"cell_phone": voter_row['Cell_Phone']
|
"cell_phone": voter_row['Cell_Phone']
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue