def FindAddressCandidates(self, outFields=[], outSR=None, **fields):
        """The findAddressCandidates operation is performed on a geocode
           service resource. The result of this operation is a resource
           representing the  list of address candidates. This resource
           provides information about candidates including the address,
           location, and score."""
        required_unset_fields = []
        for field in self._json_struct['addressFields']:
            if field['required'] and fields not in field['name']:
                required_unset_fields.append(field['name'])
        if required_unset_fields:
            raise ValueError("Required field%s not set for Geocode: %s" % 
                               ('' if len(required_unset_fields) == 1 
                                   else 's', ', '.join(required_unset_fields)))
        query = fields.copy()
        query['outFields'] = outFields
        if outSR:
            query['outSR'] = (outSR.wkid 
                                if isinstance(outSR, geometry.SpatialReference)
                                else outSR)
        return self._get_subfolder('findAddressCandidates/', 
                                   FindAddressCandidatesResult, query)
dataset/ETHPy150Open jasonbot/arcrest/arcrest/server.py/GeocodeService.FindAddressCandidates/swapped operands of `not in`