from core.storage.filesystem import Filesystem
from core.storage.s3 import S3


def getStorage(configuration):
    if configuration['engine'] == 'core.storage.filesystem':
        return Filesystem(configuration['path'])
    elif configuration['engine'] == 'core.storage.s3':
        return S3(configuration)

5b83da33c2fe766f81c5bd89e297f312c7e669aa
<mask token>

<mask token>


def getStorage(configuration):
    if configuration['engine'] == 'core.storage.filesystem':
        return Filesystem(configuration['path'])
    elif configuration['engine'] == 'core.storage.s3':
        return S3(configuration)

from core.storage.filesystem import Filesystem
from core.storage.s3 import S3


def getStorage(configuration):
    if configuration['engine'] == 'core.storage.filesystem':
        return Filesystem(configuration['path'])
    elif configuration['engine'] == 'core.storage.s3':
        return S3(configuration)
