docs: def get_office(self, row, division):
          """
          Gets the Office object for the given row of election results.
          Depends on knowing the division of the row of election results.
          """
          AT_LARGE_STATES = ["AK", "DE", "MT", "ND", "SD", "VT", "WY"]
  
          if division.level.name not in [
              geography.DivisionLevel.STATE,
              geography.DivisionLevel.COUNTRY,
          ]:
              state = division.parent
          else:
              state = division
  
          if row["officename"] == "President":
              return government.Office.objects.get(
                  label="President", name="President of the United States"
              )
          elif row["officename"] == "Governor":
              jurisdiction = government.Jurisdiction.objects.get(division=state)
  
              return government.Office.objects.get(
                  slug__endswith="governor", jurisdiction=jurisdiction
              )
          elif row["officename"] == "U.S. Senate":
              body = government.Body.objects.get(label="U.S. Senate")
              if row["seatnum"] == "2" or "Class II" in row["description"]:
                  senate_class = 2
              else:
                  senate_class = self.senate_class
              return government.Office.objects.get(
                  body=body, division=state, senate_class=senate_class
              )
          elif row["officename"].startswith("U.S. House"):
              body = government.Body.objects.get(
                  label="U.S. House of Representatives"
              )
  
              if row["statepostal"] in AT_LARGE_STATES:
                  code = "00"
              else:
                  if row["seatnum"]:
                      code = (
                          row["seatnum"].zfill(2)
                          if int(row["seatnum"]) < 10
                          else row["seatnum"]
                      )
                  else:
                      seatnum = row["seatname"].split(" ")[1]
                      code = seatnum.zfill(2) if int(seatnum) < 10 else seatnum
  
              district = state.children.get(
                  level__name=geography.DivisionLevel.DISTRICT, code=code
              )
              return government.Office.objects.get(body=body, division=district)