nl: call the method six.iteritems with an argument base.declared_fields, convert it to a list and append fields to it, substitute the result for fields.
code: fields = list ( six . iteritems ( base . declared_fields ) ) + fields