Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.files.sources.s3

try:
    from fs_s3fs import S3FS
except ImportError:
    S3FS = None

from ._pyfilesystem2 import PyFilesystem2FilesSource


[docs]class S3FilesSource(PyFilesystem2FilesSource): plugin_type = "s3" required_module = S3FS required_package = "fs-s3fs" def _open_fs(self, user_context): props = self._serialization_props(user_context) handle = S3FS(**props) return handle
__all__ = ("S3FilesSource",)