Refactor get_partners_vars to accept field_partners field array as param