def __init__(self, fs):
self._fs = fs
- def Read(self, paths):
+ def Read(self, paths, skip_not_found=False):
+ if skip_not_found: return Future(value={})
def raise_file_not_found():
raise FileNotFoundError('File system is offline, cannot read %s' % paths)
return Future(callback=raise_file_not_found)