Open popescu-v opened 1 year ago
FilesystemResource
AmazonS3Resource
GoogleCloudStorageResource
extras/filesystems.py
sklearn
This refactoring will be done if a new filesystem is implemented
Perhaps to be done when Azure support is added?
Implementation Ideas
FilesystemResource
registry to register newFilesystemResource
classes and adapt the factory methodAmazonS3Resource
andGoogleCloudStorageResource
toextras/filesystems.py
sklearn
consult the registry for the available filesystems and fail before any operation if there is an invalid path