def METHOD_NAME(self, group, name, path=None):
    for name, ep in self.get_group_named(group, path=path).items():
        if name == name:
            return ep
    raise ValueError('No entrypoint {!r} in group {!r}'.format(
        group, name))