code: def validate(cls, job_config):
      
      super(ModelDatastoreInputReader, cls).validate(job_config)
      params = job_config.input_reader_params
      entity_kind = params[cls.ENTITY_KIND_PARAM]
      # Fail fast if Model cannot be located.
      try:
        model_class = util.for_name(entity_kind)
      except ImportError, e:
        raise errors.BadReaderParamsError("Bad entity kind: %s" % e)
      if cls.FILTERS_PARAM in params:
        filters = params[cls.FILTERS_PARAM]
        if issubclass(model_class, db.Model):
          cls._validate_filters(filters, model_class)
        else:
          cls._validate_filters_ndb(filters, model_class)
        property_range.PropertyRange(filters, entity_kind)
docs: Inherit docs.