view env/lib/python3.9/site-packages/bioblend/galaxy/ftpfiles/__init__.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
line wrap: on
line source

"""
Contains possible interactions with the Galaxy FTP Files
"""
from bioblend.galaxy.client import Client


class FTPFilesClient(Client):

    def __init__(self, galaxy_instance):
        self.module = 'ftp_files'
        super().__init__(galaxy_instance)

    def get_ftp_files(self, deleted=False):
        """
        Get a list of local files.

        :type deleted: bool
        :param deleted: Whether to include deleted files

        :rtype: list
        :return: A list of dicts with details on individual files on FTP
        """
        return self._get()