docs: def extract_values(query):
      """
      Extract values from insert or update query.
      Supports bulk_create
      """
      # pylint
      if isinstance(query, subqueries.UpdateQuery):
          row = query.values
          return extract_values_inner(row, query)
      if isinstance(query, subqueries.InsertQuery):
          ret = []
          for row in query.objs:
              ret.append(extract_values_inner(row, query))
          return ret
      raise NotSupportedError