def __getitem__(self, key):
        """Stand-in for dict[key].

        :type key: object
        :param key: Hashable dictionary key.

        :raises: :class:`KeyError` always since the future is intended to fail
                 as a dictionary.
        """
        raise KeyError('Cannot get item %r from a future' % (key,))
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/storage/batch.py/_FutureDict.__getitem__/original