def setClient(cls, client):
    cls._client = client


class FtpFileCommand(FtpFile, sublime_plugin.TextCommand):

    def run(self, args):
        client = self.client()


class FtpFileEventListener(FtpFile, sublime_plugin.EventListener):

    def run(self, args):
        client = self.client()
Variable scope outside of classes