def __getattr__(self, attr):
        """Delegate all unrecognized public attributes to .metadata provider"""
        if attr.startswith('_'):
            raise AttributeError(attr)
        return getattr(self._provider, attr)
Delegate all unrecognized public attributes to .metadata provider
product/gradle-plugin/src/main/python/pip/_vendor/pkg_resources/__init__.py