def get_serializer(self, *args, **kwargs):
if isinstance(kwargs.get('<STR_LIT:data>', {}), list):<EOL><INDENT>kwargs['<STR_LIT>'] = True<EOL><DEDENT>return super().get_serializer(*args, **kwargs)<EOL>
if an array is passed, set serializer to many