Example #1
0
 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)
Example #2
0
 def __init__(self, path, fs=DCacheFileSystem.default_instance, **kwargs):
     """ __init__(path, fs=DCacheFileSystem.default_instance, **kwargs)
     """
     RemoteTarget.__init__(self, path, fs, **kwargs)
Example #3
0
 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)
Example #4
0
File: dropbox.py Project: silky/law
    def __init__(self, path, fs=None, exists=None):
        if fs is None:
            fs = DropboxFileSystem.default

        RemoteTarget.__init__(self, path, fs, exists=exists)