Eric Swalwell resigned in April as he faced sexual assault allegations, prompting a special election to fill out his term. Two Democrats topped the field in a regular primary election this month.