def get_storage(module):
    """Creates and returns the flash storage backend defined in the given
    module path (ex: ``"myapp.mypackage.mymodule"``). The argument can also
    be an alias to a built-in storage backend, such as ``"session"`` or
    ``"cookie"``.
    """
    if module in STORAGES:
        mod = __import__('djangoflash.storage.%s' % STORAGES[module], \
            {}, {}, [''])
    else:
        mod = __import__(module, {}, {}, [''])
    return getattr(mod, 'FlashStorageClass')()

# Get the flash storage specified in the project's settings. Use the session
# storage by default (for both security and backward compatibility reasons).
dataset/ETHPy150Open danielfm/django-flash/src/djangoflash/storage/__init__.py/get_storage/original