Attorney General Geoffrey Cox said on Wednesday the British government would be asking parliament to agree to an election shortly, urging lawmakers to back the move.