def __getattr__(self, resource):
        if resource.startswith('_'):
            raise AttributeError

        return ResourceManager(self, resource)
Returns either ResourceSet or Resource object depending on the method used on the ResourceManager
dataset/ETHPy150Open maxtepkeev/python-redmine/redmine/__init__.py/Redmine.__getattr__