@classmethod
  def validate(cls, job_config):
    """Inherit docs."""
    super(DatastoreInputReader, cls).validate(job_config)
    params = job_config.input_reader_params
    entity_kind = params[cls.ENTITY_KIND_PARAM]

    if "." in entity_kind:
      logging.warning(
          ". detected in entity kind %s specified for reader %s."
          "Assuming entity kind contains the dot.",
          entity_kind, cls.__name__)

    if params in cls.FILTERS_PARAM:
      filters = params[cls.FILTERS_PARAM]
      for f in filters:
        if f[1] != "=":
          raise errors.BadReaderParamsError(
              "Only equality filters are supported: %s", f)
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/mapreduce/api/map_job/datastore_input_reader.py/DatastoreInputReader.validate/swapped operands of `in`