def _check():
    for (key, path) in key_paths:
        if (not os.path.exists(path)):
            raise MetaflowS3NotFound(('Local file not found: %s' % path))
        (yield (path, self._url(key), key))
def _check():
    for (key, path) in key_paths:
        if (not os.path.exists(path)):
            raise MetaflowS3NotFound(('Local file not found: %s' % path))
        (yield (path, self._url(key), key))