def __getattr__(self, key):
        if key not in self._dependency_by_key:
            raise AttributeError(key)

        try:
            return self._resource_by_key[key]
        except KeyError:
            raise exceptions.UnsatisfiedDependencyError('Unsatisfied dependency: %s' % str(key))
dataset/ETHPy150Open foundit/Piped/piped/dependencies.py/DependencyMap.__getattr__/original