@classmethod
  def _accept_conf_filter(cls, confs, unpack_func=None):
    def accept_conf_in_item(item):
      conf = unpack_func(item)
      return confs is None or conf in confs

    unpack_func = unpack_func or (lambda x: x)
    return accept_conf_in_item
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/classpath_util.py/ClasspathUtil._accept_conf_filter/original