def __init__(self, path, fs=DropboxFileSystem.default_instance, **kwargs): """ __init__(path, fs=DropboxFileSystem.default_instance, **kwargs) """ if fs is None: fs = DropboxFileSystem.default_instance elif isinstance(fs, six.string_types): fs = DropboxFileSystem(fs) RemoteTarget.__init__(self, path, fs, **kwargs)
def __init__(self, path, fs=DCacheFileSystem.default_instance, **kwargs): """ __init__(path, fs=DCacheFileSystem.default_instance, **kwargs) """ RemoteTarget.__init__(self, path, fs, **kwargs)
def __init__(self, path, fs=WLCGFileSystem.default_instance, **kwargs): """ __init__(path, fs=WLCGFileSystem.default_instance, **kwargs) """ if isinstance(fs, six.string_types): fs = WLCGFileSystem(fs) RemoteTarget.__init__(self, path, fs, **kwargs)
def __init__(self, path, fs=None, exists=None): if fs is None: fs = DropboxFileSystem.default RemoteTarget.__init__(self, path, fs, exists=exists)