

@classmethod
def validate(cls, mapper_spec):
    'Validates mapper specification.\n\n    Args:\n      mapper_spec: an instance of model.MapperSpec to validate.\n    '
    if (mapper_spec.OUTPUT_SHARDING_PARAM in _get_params(mapper_spec)):
        raise errors.BadWriterParamsError(('output_sharding should not be specified for %s' % cls.__name__))
    super(FileRecordsOutputWriter, cls).validate(mapper_spec)

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/output_writers.py FileRecordsOutputWriter.validate/VarMisuse@19/61 `cls`->`mapper_spec`