docs: def get_or_create_candidate_election(
          self, row, election, candidate, party
      ):
          """
          For a given election, this function updates or creates the
          CandidateElection object using the model method on the election.
          """
          return election.update_or_create_candidate(
              candidate, party.aggregate_candidates, row["uncontested"]
          )