def choice_pick_impl(self):
        pick_mode = self.options["pick_mode"]
        impl = {
            "join": self.pick_joining,
            "first": self.pick_first,
            "keep": self.keep_value,
        }.get(pick_mode)

        if not impl:
            raise ValueError("%r is not valid pick mode" % pick_mode)
        return impl
dataset/ETHPy150Open douban/brownant/brownant/pipeline/html.py/XPathTextProperty.choice_pick_impl/original