diff options
Diffstat (limited to 'module/remote/thriftbackend/thriftgen')
-rw-r--r-- | module/remote/thriftbackend/thriftgen/__init__.py | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 49 | ||||
-rw-r--r-- | module/remote/thriftbackend/thriftgen/pyload/Pyload.py | 821 | ||||
-rw-r--r-- | module/remote/thriftbackend/thriftgen/pyload/__init__.py | 2 | ||||
-rw-r--r-- | module/remote/thriftbackend/thriftgen/pyload/constants.py | 3 | ||||
-rw-r--r-- | module/remote/thriftbackend/thriftgen/pyload/ttypes.py | 241 |
6 files changed, 558 insertions, 559 deletions
diff --git a/module/remote/thriftbackend/thriftgen/__init__.py b/module/remote/thriftbackend/thriftgen/__init__.py index e69de29bb..40a96afc6 100644 --- a/module/remote/thriftbackend/thriftgen/__init__.py +++ b/module/remote/thriftbackend/thriftgen/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index bfaf5b078..ddc1dd451 100755..100644 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -1,10 +1,9 @@ -#!/usr/bin/env python # # Autogenerated by Thrift Compiler (0.9.0-dev) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # -# options string: py:slots,dynamic +# options string: py:slots, dynamic # import sys @@ -19,9 +18,9 @@ import Pyload from ttypes import * if len(sys.argv) <= 1 or sys.argv[1] == '--help': - print '' + print print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]' - print '' + print print 'Functions:' print ' string getConfigValue(string category, string option, string section)' print ' void setConfigValue(string category, string option, string value, string section)' @@ -93,7 +92,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' CaptchaTask getCaptchaTask(bool exclusive)' print ' string getCaptchaTaskStatus(TaskID tid)' print ' void setCaptchaResult(TaskID tid, string result)' - print '' + print sys.exit(0) pp = pprint.PrettyPrinter(indent = 2) @@ -148,13 +147,13 @@ if cmd == 'getConfigValue': if len(args) != 3: print 'getConfigValue requires 3 args' sys.exit(1) - pp.pprint(client.getConfigValue(args[0],args[1],args[2],)) + pp.pprint(client.getConfigValue(args[0], args[1], args[2],)) elif cmd == 'setConfigValue': if len(args) != 4: print 'setConfigValue requires 4 args' sys.exit(1) - pp.pprint(client.setConfigValue(args[0],args[1],args[2],args[3],)) + pp.pprint(client.setConfigValue(args[0], args[1], args[2], args[3],)) elif cmd == 'getConfig': if len(args) != 0: @@ -256,7 +255,7 @@ elif cmd == 'parseURLs': if len(args) != 2: print 'parseURLs requires 2 args' sys.exit(1) - pp.pprint(client.parseURLs(args[0],args[1],)) + pp.pprint(client.parseURLs(args[0], args[1],)) elif cmd == 'checkOnlineStatus': if len(args) != 1: @@ -268,7 +267,7 @@ elif cmd == 'checkOnlineStatusContainer': if len(args) != 3: print 'checkOnlineStatusContainer requires 3 args' sys.exit(1) - pp.pprint(client.checkOnlineStatusContainer(eval(args[0]),args[1],args[2],)) + pp.pprint(client.checkOnlineStatusContainer(eval(args[0]), args[1], args[2],)) elif cmd == 'pollResults': if len(args) != 1: @@ -340,25 +339,25 @@ elif cmd == 'generateAndAddPackages': if len(args) != 2: print 'generateAndAddPackages requires 2 args' sys.exit(1) - pp.pprint(client.generateAndAddPackages(eval(args[0]),eval(args[1]),)) + pp.pprint(client.generateAndAddPackages(eval(args[0]), eval(args[1]),)) elif cmd == 'addPackage': if len(args) != 3: print 'addPackage requires 3 args' sys.exit(1) - pp.pprint(client.addPackage(args[0],eval(args[1]),eval(args[2]),)) + pp.pprint(client.addPackage(args[0], eval(args[1]), eval(args[2]),)) elif cmd == 'addFiles': if len(args) != 2: print 'addFiles requires 2 args' sys.exit(1) - pp.pprint(client.addFiles(eval(args[0]),eval(args[1]),)) + pp.pprint(client.addFiles(eval(args[0]), eval(args[1]),)) elif cmd == 'uploadContainer': if len(args) != 2: print 'uploadContainer requires 2 args' sys.exit(1) - pp.pprint(client.uploadContainer(args[0],args[1],)) + pp.pprint(client.uploadContainer(args[0], args[1],)) elif cmd == 'deleteFiles': if len(args) != 1: @@ -418,37 +417,37 @@ elif cmd == 'setPackageName': if len(args) != 2: print 'setPackageName requires 2 args' sys.exit(1) - pp.pprint(client.setPackageName(eval(args[0]),args[1],)) + pp.pprint(client.setPackageName(eval(args[0]), args[1],)) elif cmd == 'movePackage': if len(args) != 2: print 'movePackage requires 2 args' sys.exit(1) - pp.pprint(client.movePackage(eval(args[0]),eval(args[1]),)) + pp.pprint(client.movePackage(eval(args[0]), eval(args[1]),)) elif cmd == 'moveFiles': if len(args) != 2: print 'moveFiles requires 2 args' sys.exit(1) - pp.pprint(client.moveFiles(eval(args[0]),eval(args[1]),)) + pp.pprint(client.moveFiles(eval(args[0]), eval(args[1]),)) elif cmd == 'orderPackage': if len(args) != 2: print 'orderPackage requires 2 args' sys.exit(1) - pp.pprint(client.orderPackage(eval(args[0]),eval(args[1]),)) + pp.pprint(client.orderPackage(eval(args[0]), eval(args[1]),)) elif cmd == 'orderFile': if len(args) != 2: print 'orderFile requires 2 args' sys.exit(1) - pp.pprint(client.orderFile(eval(args[0]),eval(args[1]),)) + pp.pprint(client.orderFile(eval(args[0]), eval(args[1]),)) elif cmd == 'setPackageData': if len(args) != 2: print 'setPackageData requires 2 args' sys.exit(1) - pp.pprint(client.setPackageData(eval(args[0]),eval(args[1]),)) + pp.pprint(client.setPackageData(eval(args[0]), eval(args[1]),)) elif cmd == 'deleteFinished': if len(args) != 0: @@ -484,25 +483,25 @@ elif cmd == 'updateAccount': if len(args) != 4: print 'updateAccount requires 4 args' sys.exit(1) - pp.pprint(client.updateAccount(eval(args[0]),args[1],args[2],eval(args[3]),)) + pp.pprint(client.updateAccount(eval(args[0]), args[1], args[2], eval(args[3]),)) elif cmd == 'removeAccount': if len(args) != 2: print 'removeAccount requires 2 args' sys.exit(1) - pp.pprint(client.removeAccount(eval(args[0]),args[1],)) + pp.pprint(client.removeAccount(eval(args[0]), args[1],)) elif cmd == 'login': if len(args) != 2: print 'login requires 2 args' sys.exit(1) - pp.pprint(client.login(args[0],args[1],)) + pp.pprint(client.login(args[0], args[1],)) elif cmd == 'getUserData': if len(args) != 2: print 'getUserData requires 2 args' sys.exit(1) - pp.pprint(client.getUserData(args[0],args[1],)) + pp.pprint(client.getUserData(args[0], args[1],)) elif cmd == 'getAllUserData': if len(args) != 0: @@ -520,7 +519,7 @@ elif cmd == 'hasService': if len(args) != 2: print 'hasService requires 2 args' sys.exit(1) - pp.pprint(client.hasService(eval(args[0]),args[1],)) + pp.pprint(client.hasService(eval(args[0]), args[1],)) elif cmd == 'call': if len(args) != 1: @@ -562,7 +561,7 @@ elif cmd == 'setCaptchaResult': if len(args) != 2: print 'setCaptchaResult requires 2 args' sys.exit(1) - pp.pprint(client.setCaptchaResult(eval(args[0]),args[1],)) + pp.pprint(client.setCaptchaResult(eval(args[0]), args[1],)) else: print 'Unrecognized method %s' % cmd diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload.py b/module/remote/thriftbackend/thriftgen/pyload/Pyload.py index 78a42f16a..e8d2cf9af 100644 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload.py +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload.py @@ -3,7 +3,7 @@ # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # -# options string: py:slots,dynamic +# options string: py:slots, dynamic # from thrift.Thrift import TType, TMessageType, TException @@ -32,34 +32,34 @@ class Iface(object): """ pass - def getConfig(self, ): + def getConfig(self,): pass - def getPluginConfig(self, ): + def getPluginConfig(self,): pass - def pauseServer(self, ): + def pauseServer(self,): pass - def unpauseServer(self, ): + def unpauseServer(self,): pass - def togglePause(self, ): + def togglePause(self,): pass - def statusServer(self, ): + def statusServer(self,): pass - def freeSpace(self, ): + def freeSpace(self,): pass - def getServerVersion(self, ): + def getServerVersion(self,): pass - def kill(self, ): + def kill(self,): pass - def restart(self, ): + def restart(self,): pass def getLog(self, offset): @@ -69,13 +69,13 @@ class Iface(object): """ pass - def isTimeDownload(self, ): + def isTimeDownload(self,): pass - def isTimeReconnect(self, ): + def isTimeReconnect(self,): pass - def toggleReconnect(self, ): + def toggleReconnect(self,): pass def generatePackages(self, links): @@ -123,7 +123,7 @@ class Iface(object): """ pass - def statusDownloads(self, ): + def statusDownloads(self,): pass def getPackageData(self, pid): @@ -147,16 +147,16 @@ class Iface(object): """ pass - def getQueue(self, ): + def getQueue(self,): pass - def getCollector(self, ): + def getCollector(self,): pass - def getQueueData(self, ): + def getQueueData(self,): pass - def getCollectorData(self, ): + def getCollectorData(self,): pass def getPackageOrder(self, destination): @@ -255,7 +255,7 @@ class Iface(object): """ pass - def stopAllDownloads(self, ): + def stopAllDownloads(self,): pass def stopDownloads(self, fids): @@ -313,10 +313,10 @@ class Iface(object): """ pass - def deleteFinished(self, ): + def deleteFinished(self,): pass - def restartFailed(self, ): + def restartFailed(self,): pass def getEvents(self, uuid): @@ -333,7 +333,7 @@ class Iface(object): """ pass - def getAccountTypes(self, ): + def getAccountTypes(self,): pass def updateAccount(self, plugin, account, password, options): @@ -370,10 +370,10 @@ class Iface(object): """ pass - def getAllUserData(self, ): + def getAllUserData(self,): pass - def getServices(self, ): + def getServices(self,): pass def hasService(self, plugin, func): @@ -391,7 +391,7 @@ class Iface(object): """ pass - def getAllInfo(self, ): + def getAllInfo(self,): pass def getInfoByPlugin(self, plugin): @@ -401,7 +401,7 @@ class Iface(object): """ pass - def isCaptchaWaiting(self, ): + def isCaptchaWaiting(self,): pass def getCaptchaTask(self, exclusive): @@ -454,7 +454,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getConfigValue(self, ): + def recv_getConfigValue(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -490,7 +490,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_setConfigValue(self, ): + def recv_setConfigValue(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -502,18 +502,18 @@ class Client(Iface): self._iprot.readMessageEnd() return - def getConfig(self, ): + def getConfig(self,): self.send_getConfig() return self.recv_getConfig() - def send_getConfig(self, ): + def send_getConfig(self,): self._oprot.writeMessageBegin('getConfig', TMessageType.CALL, self._seqid) args = getConfig_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getConfig(self, ): + def recv_getConfig(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -527,18 +527,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getConfig failed: unknown result"); - def getPluginConfig(self, ): + def getPluginConfig(self,): self.send_getPluginConfig() return self.recv_getPluginConfig() - def send_getPluginConfig(self, ): + def send_getPluginConfig(self,): self._oprot.writeMessageBegin('getPluginConfig', TMessageType.CALL, self._seqid) args = getPluginConfig_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getPluginConfig(self, ): + def recv_getPluginConfig(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -552,18 +552,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getPluginConfig failed: unknown result"); - def pauseServer(self, ): + def pauseServer(self,): self.send_pauseServer() self.recv_pauseServer() - def send_pauseServer(self, ): + def send_pauseServer(self,): self._oprot.writeMessageBegin('pauseServer', TMessageType.CALL, self._seqid) args = pauseServer_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_pauseServer(self, ): + def recv_pauseServer(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -575,18 +575,18 @@ class Client(Iface): self._iprot.readMessageEnd() return - def unpauseServer(self, ): + def unpauseServer(self,): self.send_unpauseServer() self.recv_unpauseServer() - def send_unpauseServer(self, ): + def send_unpauseServer(self,): self._oprot.writeMessageBegin('unpauseServer', TMessageType.CALL, self._seqid) args = unpauseServer_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_unpauseServer(self, ): + def recv_unpauseServer(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -598,18 +598,18 @@ class Client(Iface): self._iprot.readMessageEnd() return - def togglePause(self, ): + def togglePause(self,): self.send_togglePause() return self.recv_togglePause() - def send_togglePause(self, ): + def send_togglePause(self,): self._oprot.writeMessageBegin('togglePause', TMessageType.CALL, self._seqid) args = togglePause_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_togglePause(self, ): + def recv_togglePause(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -623,18 +623,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "togglePause failed: unknown result"); - def statusServer(self, ): + def statusServer(self,): self.send_statusServer() return self.recv_statusServer() - def send_statusServer(self, ): + def send_statusServer(self,): self._oprot.writeMessageBegin('statusServer', TMessageType.CALL, self._seqid) args = statusServer_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_statusServer(self, ): + def recv_statusServer(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -648,18 +648,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "statusServer failed: unknown result"); - def freeSpace(self, ): + def freeSpace(self,): self.send_freeSpace() return self.recv_freeSpace() - def send_freeSpace(self, ): + def send_freeSpace(self,): self._oprot.writeMessageBegin('freeSpace', TMessageType.CALL, self._seqid) args = freeSpace_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_freeSpace(self, ): + def recv_freeSpace(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -673,18 +673,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "freeSpace failed: unknown result"); - def getServerVersion(self, ): + def getServerVersion(self,): self.send_getServerVersion() return self.recv_getServerVersion() - def send_getServerVersion(self, ): + def send_getServerVersion(self,): self._oprot.writeMessageBegin('getServerVersion', TMessageType.CALL, self._seqid) args = getServerVersion_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getServerVersion(self, ): + def recv_getServerVersion(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -698,18 +698,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getServerVersion failed: unknown result"); - def kill(self, ): + def kill(self,): self.send_kill() self.recv_kill() - def send_kill(self, ): + def send_kill(self,): self._oprot.writeMessageBegin('kill', TMessageType.CALL, self._seqid) args = kill_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_kill(self, ): + def recv_kill(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -721,18 +721,18 @@ class Client(Iface): self._iprot.readMessageEnd() return - def restart(self, ): + def restart(self,): self.send_restart() self.recv_restart() - def send_restart(self, ): + def send_restart(self,): self._oprot.writeMessageBegin('restart', TMessageType.CALL, self._seqid) args = restart_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_restart(self, ): + def recv_restart(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -760,7 +760,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getLog(self, ): + def recv_getLog(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -774,18 +774,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getLog failed: unknown result"); - def isTimeDownload(self, ): + def isTimeDownload(self,): self.send_isTimeDownload() return self.recv_isTimeDownload() - def send_isTimeDownload(self, ): + def send_isTimeDownload(self,): self._oprot.writeMessageBegin('isTimeDownload', TMessageType.CALL, self._seqid) args = isTimeDownload_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_isTimeDownload(self, ): + def recv_isTimeDownload(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -799,18 +799,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "isTimeDownload failed: unknown result"); - def isTimeReconnect(self, ): + def isTimeReconnect(self,): self.send_isTimeReconnect() return self.recv_isTimeReconnect() - def send_isTimeReconnect(self, ): + def send_isTimeReconnect(self,): self._oprot.writeMessageBegin('isTimeReconnect', TMessageType.CALL, self._seqid) args = isTimeReconnect_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_isTimeReconnect(self, ): + def recv_isTimeReconnect(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -824,18 +824,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "isTimeReconnect failed: unknown result"); - def toggleReconnect(self, ): + def toggleReconnect(self,): self.send_toggleReconnect() return self.recv_toggleReconnect() - def send_toggleReconnect(self, ): + def send_toggleReconnect(self,): self._oprot.writeMessageBegin('toggleReconnect', TMessageType.CALL, self._seqid) args = toggleReconnect_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_toggleReconnect(self, ): + def recv_toggleReconnect(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -865,7 +865,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_generatePackages(self, ): + def recv_generatePackages(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -895,7 +895,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_checkURLs(self, ): + def recv_checkURLs(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -927,7 +927,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_parseURLs(self, ): + def recv_parseURLs(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -957,7 +957,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_checkOnlineStatus(self, ): + def recv_checkOnlineStatus(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -991,7 +991,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_checkOnlineStatusContainer(self, ): + def recv_checkOnlineStatusContainer(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1021,7 +1021,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_pollResults(self, ): + def recv_pollResults(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1035,18 +1035,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "pollResults failed: unknown result"); - def statusDownloads(self, ): + def statusDownloads(self,): self.send_statusDownloads() return self.recv_statusDownloads() - def send_statusDownloads(self, ): + def send_statusDownloads(self,): self._oprot.writeMessageBegin('statusDownloads', TMessageType.CALL, self._seqid) args = statusDownloads_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_statusDownloads(self, ): + def recv_statusDownloads(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1076,7 +1076,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getPackageData(self, ): + def recv_getPackageData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1108,7 +1108,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getPackageInfo(self, ): + def recv_getPackageInfo(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1140,7 +1140,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getFileData(self, ): + def recv_getFileData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1156,18 +1156,18 @@ class Client(Iface): raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "getFileData failed: unknown result"); - def getQueue(self, ): + def getQueue(self,): self.send_getQueue() return self.recv_getQueue() - def send_getQueue(self, ): + def send_getQueue(self,): self._oprot.writeMessageBegin('getQueue', TMessageType.CALL, self._seqid) args = getQueue_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getQueue(self, ): + def recv_getQueue(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1181,18 +1181,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueue failed: unknown result"); - def getCollector(self, ): + def getCollector(self,): self.send_getCollector() return self.recv_getCollector() - def send_getCollector(self, ): + def send_getCollector(self,): self._oprot.writeMessageBegin('getCollector', TMessageType.CALL, self._seqid) args = getCollector_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getCollector(self, ): + def recv_getCollector(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1206,18 +1206,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getCollector failed: unknown result"); - def getQueueData(self, ): + def getQueueData(self,): self.send_getQueueData() return self.recv_getQueueData() - def send_getQueueData(self, ): + def send_getQueueData(self,): self._oprot.writeMessageBegin('getQueueData', TMessageType.CALL, self._seqid) args = getQueueData_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getQueueData(self, ): + def recv_getQueueData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1231,18 +1231,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getQueueData failed: unknown result"); - def getCollectorData(self, ): + def getCollectorData(self,): self.send_getCollectorData() return self.recv_getCollectorData() - def send_getCollectorData(self, ): + def send_getCollectorData(self,): self._oprot.writeMessageBegin('getCollectorData', TMessageType.CALL, self._seqid) args = getCollectorData_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getCollectorData(self, ): + def recv_getCollectorData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1272,7 +1272,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getPackageOrder(self, ): + def recv_getPackageOrder(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1302,7 +1302,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getFileOrder(self, ): + def recv_getFileOrder(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1334,7 +1334,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_generateAndAddPackages(self, ): + def recv_generateAndAddPackages(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1368,7 +1368,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_addPackage(self, ): + def recv_addPackage(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1400,7 +1400,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_addFiles(self, ): + def recv_addFiles(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1430,7 +1430,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_uploadContainer(self, ): + def recv_uploadContainer(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1458,7 +1458,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_deleteFiles(self, ): + def recv_deleteFiles(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1486,7 +1486,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_deletePackages(self, ): + def recv_deletePackages(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1514,7 +1514,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_pushToQueue(self, ): + def recv_pushToQueue(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1542,7 +1542,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_pullFromQueue(self, ): + def recv_pullFromQueue(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1570,7 +1570,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_restartPackage(self, ): + def recv_restartPackage(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1598,7 +1598,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_restartFile(self, ): + def recv_restartFile(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1626,7 +1626,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_recheckPackage(self, ): + def recv_recheckPackage(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1638,18 +1638,18 @@ class Client(Iface): self._iprot.readMessageEnd() return - def stopAllDownloads(self, ): + def stopAllDownloads(self,): self.send_stopAllDownloads() self.recv_stopAllDownloads() - def send_stopAllDownloads(self, ): + def send_stopAllDownloads(self,): self._oprot.writeMessageBegin('stopAllDownloads', TMessageType.CALL, self._seqid) args = stopAllDownloads_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_stopAllDownloads(self, ): + def recv_stopAllDownloads(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1677,7 +1677,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_stopDownloads(self, ): + def recv_stopDownloads(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1707,7 +1707,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_setPackageName(self, ): + def recv_setPackageName(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1737,7 +1737,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_movePackage(self, ): + def recv_movePackage(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1767,7 +1767,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_moveFiles(self, ): + def recv_moveFiles(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1797,7 +1797,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_orderPackage(self, ): + def recv_orderPackage(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1827,7 +1827,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_orderFile(self, ): + def recv_orderFile(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1857,7 +1857,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_setPackageData(self, ): + def recv_setPackageData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1871,18 +1871,18 @@ class Client(Iface): raise result.e return - def deleteFinished(self, ): + def deleteFinished(self,): self.send_deleteFinished() return self.recv_deleteFinished() - def send_deleteFinished(self, ): + def send_deleteFinished(self,): self._oprot.writeMessageBegin('deleteFinished', TMessageType.CALL, self._seqid) args = deleteFinished_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_deleteFinished(self, ): + def recv_deleteFinished(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1896,18 +1896,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteFinished failed: unknown result"); - def restartFailed(self, ): + def restartFailed(self,): self.send_restartFailed() self.recv_restartFailed() - def send_restartFailed(self, ): + def send_restartFailed(self,): self._oprot.writeMessageBegin('restartFailed', TMessageType.CALL, self._seqid) args = restartFailed_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_restartFailed(self, ): + def recv_restartFailed(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1935,7 +1935,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getEvents(self, ): + def recv_getEvents(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1965,7 +1965,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getAccounts(self, ): + def recv_getAccounts(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -1979,18 +1979,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getAccounts failed: unknown result"); - def getAccountTypes(self, ): + def getAccountTypes(self,): self.send_getAccountTypes() return self.recv_getAccountTypes() - def send_getAccountTypes(self, ): + def send_getAccountTypes(self,): self._oprot.writeMessageBegin('getAccountTypes', TMessageType.CALL, self._seqid) args = getAccountTypes_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getAccountTypes(self, ): + def recv_getAccountTypes(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2026,7 +2026,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_updateAccount(self, ): + def recv_updateAccount(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2056,7 +2056,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_removeAccount(self, ): + def recv_removeAccount(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2086,7 +2086,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_login(self, ): + def recv_login(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2118,7 +2118,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getUserData(self, ): + def recv_getUserData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2132,18 +2132,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getUserData failed: unknown result"); - def getAllUserData(self, ): + def getAllUserData(self,): self.send_getAllUserData() return self.recv_getAllUserData() - def send_getAllUserData(self, ): + def send_getAllUserData(self,): self._oprot.writeMessageBegin('getAllUserData', TMessageType.CALL, self._seqid) args = getAllUserData_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getAllUserData(self, ): + def recv_getAllUserData(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2157,18 +2157,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUserData failed: unknown result"); - def getServices(self, ): + def getServices(self,): self.send_getServices() return self.recv_getServices() - def send_getServices(self, ): + def send_getServices(self,): self._oprot.writeMessageBegin('getServices', TMessageType.CALL, self._seqid) args = getServices_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getServices(self, ): + def recv_getServices(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2200,7 +2200,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_hasService(self, ): + def recv_hasService(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2230,7 +2230,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_call(self, ): + def recv_call(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2248,18 +2248,18 @@ class Client(Iface): raise result.e raise TApplicationException(TApplicationException.MISSING_RESULT, "call failed: unknown result"); - def getAllInfo(self, ): + def getAllInfo(self,): self.send_getAllInfo() return self.recv_getAllInfo() - def send_getAllInfo(self, ): + def send_getAllInfo(self,): self._oprot.writeMessageBegin('getAllInfo', TMessageType.CALL, self._seqid) args = getAllInfo_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getAllInfo(self, ): + def recv_getAllInfo(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2289,7 +2289,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getInfoByPlugin(self, ): + def recv_getInfoByPlugin(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2303,18 +2303,18 @@ class Client(Iface): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "getInfoByPlugin failed: unknown result"); - def isCaptchaWaiting(self, ): + def isCaptchaWaiting(self,): self.send_isCaptchaWaiting() return self.recv_isCaptchaWaiting() - def send_isCaptchaWaiting(self, ): + def send_isCaptchaWaiting(self,): self._oprot.writeMessageBegin('isCaptchaWaiting', TMessageType.CALL, self._seqid) args = isCaptchaWaiting_args() args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_isCaptchaWaiting(self, ): + def recv_isCaptchaWaiting(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2344,7 +2344,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getCaptchaTask(self, ): + def recv_getCaptchaTask(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2374,7 +2374,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_getCaptchaTaskStatus(self, ): + def recv_getCaptchaTaskStatus(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -2406,7 +2406,7 @@ class Client(Iface): self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_setCaptchaResult(self, ): + def recv_setCaptchaResult(self,): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() @@ -3307,7 +3307,7 @@ class getConfigValue_args(TBase): - section """ - __slots__ = [ + __slots__ = [ 'category', 'option', 'section', @@ -3315,9 +3315,9 @@ class getConfigValue_args(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'category', None, None, ), # 1 - (2, TType.STRING, 'option', None, None, ), # 2 - (3, TType.STRING, 'section', None, None, ), # 3 + (1, TType.STRING, 'category', None, None,), # 1 + (2, TType.STRING, 'option', None, None,), # 2 + (3, TType.STRING, 'section', None, None,), # 3 ) def __init__(self, category=None, option=None, section=None,): @@ -3332,12 +3332,12 @@ class getConfigValue_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRING, 'success', None, None, ), # 0 + (0, TType.STRING, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3353,7 +3353,7 @@ class setConfigValue_args(TBase): - section """ - __slots__ = [ + __slots__ = [ 'category', 'option', 'value', @@ -3362,10 +3362,10 @@ class setConfigValue_args(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'category', None, None, ), # 1 - (2, TType.STRING, 'option', None, None, ), # 2 - (3, TType.STRING, 'value', None, None, ), # 3 - (4, TType.STRING, 'section', None, None, ), # 4 + (1, TType.STRING, 'category', None, None,), # 1 + (2, TType.STRING, 'option', None, None,), # 2 + (3, TType.STRING, 'value', None, None,), # 3 + (4, TType.STRING, 'section', None, None,), # 4 ) def __init__(self, category=None, option=None, value=None, section=None,): @@ -3377,7 +3377,7 @@ class setConfigValue_args(TBase): class setConfigValue_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3386,7 +3386,7 @@ class setConfigValue_result(TBase): class getConfig_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3399,12 +3399,12 @@ class getConfig_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(ConfigSection, ConfigSection.thrift_spec)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.STRUCT, (ConfigSection, ConfigSection.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -3413,7 +3413,7 @@ class getConfig_result(TBase): class getPluginConfig_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3426,12 +3426,12 @@ class getPluginConfig_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(ConfigSection, ConfigSection.thrift_spec)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.STRUCT, (ConfigSection, ConfigSection.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -3440,7 +3440,7 @@ class getPluginConfig_result(TBase): class pauseServer_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3449,7 +3449,7 @@ class pauseServer_args(TBase): class pauseServer_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3458,7 +3458,7 @@ class pauseServer_result(TBase): class unpauseServer_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3467,7 +3467,7 @@ class unpauseServer_args(TBase): class unpauseServer_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3476,7 +3476,7 @@ class unpauseServer_result(TBase): class togglePause_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3489,12 +3489,12 @@ class togglePause_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3503,7 +3503,7 @@ class togglePause_result(TBase): class statusServer_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3516,12 +3516,12 @@ class statusServer_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (ServerStatus, ServerStatus.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (ServerStatus, ServerStatus.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -3530,7 +3530,7 @@ class statusServer_result(TBase): class freeSpace_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3543,12 +3543,12 @@ class freeSpace_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.I64, 'success', None, None, ), # 0 + (0, TType.I64, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3557,7 +3557,7 @@ class freeSpace_result(TBase): class getServerVersion_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3570,12 +3570,12 @@ class getServerVersion_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRING, 'success', None, None, ), # 0 + (0, TType.STRING, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3584,7 +3584,7 @@ class getServerVersion_result(TBase): class kill_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3593,7 +3593,7 @@ class kill_args(TBase): class kill_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3602,7 +3602,7 @@ class kill_result(TBase): class restart_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3611,7 +3611,7 @@ class restart_args(TBase): class restart_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3624,13 +3624,13 @@ class getLog_args(TBase): - offset """ - __slots__ = [ + __slots__ = [ 'offset', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'offset', None, None, ), # 1 + (1, TType.I32, 'offset', None, None,), # 1 ) def __init__(self, offset=None,): @@ -3643,12 +3643,12 @@ class getLog_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRING, None), None,), # 0 ) def __init__(self, success=None,): @@ -3657,7 +3657,7 @@ class getLog_result(TBase): class isTimeDownload_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3670,12 +3670,12 @@ class isTimeDownload_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3684,7 +3684,7 @@ class isTimeDownload_result(TBase): class isTimeReconnect_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3697,12 +3697,12 @@ class isTimeReconnect_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3711,7 +3711,7 @@ class isTimeReconnect_result(TBase): class toggleReconnect_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3724,12 +3724,12 @@ class toggleReconnect_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -3742,13 +3742,13 @@ class generatePackages_args(TBase): - links """ - __slots__ = [ + __slots__ = [ 'links', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'links', (TType.STRING,None), None, ), # 1 + (1, TType.LIST, 'links', (TType.STRING, None), None,), # 1 ) def __init__(self, links=None,): @@ -3761,12 +3761,12 @@ class generatePackages_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRING,None)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.LIST, (TType.STRING, None)), None,), # 0 ) def __init__(self, success=None,): @@ -3779,13 +3779,13 @@ class checkURLs_args(TBase): - urls """ - __slots__ = [ + __slots__ = [ 'urls', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'urls', (TType.STRING,None), None, ), # 1 + (1, TType.LIST, 'urls', (TType.STRING, None), None,), # 1 ) def __init__(self, urls=None,): @@ -3798,12 +3798,12 @@ class checkURLs_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRING,None)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.LIST, (TType.STRING, None)), None,), # 0 ) def __init__(self, success=None,): @@ -3817,15 +3817,15 @@ class parseURLs_args(TBase): - url """ - __slots__ = [ + __slots__ = [ 'html', 'url', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'html', None, None, ), # 1 - (2, TType.STRING, 'url', None, None, ), # 2 + (1, TType.STRING, 'html', None, None,), # 1 + (2, TType.STRING, 'url', None, None,), # 2 ) def __init__(self, html=None, url=None,): @@ -3839,12 +3839,12 @@ class parseURLs_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.LIST,(TType.STRING,None)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.LIST, (TType.STRING, None)), None,), # 0 ) def __init__(self, success=None,): @@ -3857,13 +3857,13 @@ class checkOnlineStatus_args(TBase): - urls """ - __slots__ = [ + __slots__ = [ 'urls', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'urls', (TType.STRING,None), None, ), # 1 + (1, TType.LIST, 'urls', (TType.STRING, None), None,), # 1 ) def __init__(self, urls=None,): @@ -3876,12 +3876,12 @@ class checkOnlineStatus_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -3896,7 +3896,7 @@ class checkOnlineStatusContainer_args(TBase): - data """ - __slots__ = [ + __slots__ = [ 'urls', 'filename', 'data', @@ -3904,9 +3904,9 @@ class checkOnlineStatusContainer_args(TBase): thrift_spec = ( None, # 0 - (1, TType.LIST, 'urls', (TType.STRING,None), None, ), # 1 - (2, TType.STRING, 'filename', None, None, ), # 2 - (3, TType.STRING, 'data', None, None, ), # 3 + (1, TType.LIST, 'urls', (TType.STRING, None), None,), # 1 + (2, TType.STRING, 'filename', None, None,), # 2 + (3, TType.STRING, 'data', None, None,), # 3 ) def __init__(self, urls=None, filename=None, data=None,): @@ -3921,12 +3921,12 @@ class checkOnlineStatusContainer_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -3939,13 +3939,13 @@ class pollResults_args(TBase): - rid """ - __slots__ = [ + __slots__ = [ 'rid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'rid', None, None, ), # 1 + (1, TType.I32, 'rid', None, None,), # 1 ) def __init__(self, rid=None,): @@ -3958,12 +3958,12 @@ class pollResults_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (OnlineCheck, OnlineCheck.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -3972,7 +3972,7 @@ class pollResults_result(TBase): class statusDownloads_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -3985,12 +3985,12 @@ class statusDownloads_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(DownloadInfo, DownloadInfo.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (DownloadInfo, DownloadInfo.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4003,13 +4003,13 @@ class getPackageData_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4023,14 +4023,14 @@ class getPackageData_result(TBase): - e """ - __slots__ = [ + __slots__ = [ 'success', 'e', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (PackageData, PackageData.thrift_spec), None, ), # 0 - (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None, ), # 1 + (0, TType.STRUCT, 'success', (PackageData, PackageData.thrift_spec), None,), # 0 + (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None,), # 1 ) def __init__(self, success=None, e=None,): @@ -4044,13 +4044,13 @@ class getPackageInfo_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4064,14 +4064,14 @@ class getPackageInfo_result(TBase): - e """ - __slots__ = [ + __slots__ = [ 'success', 'e', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (PackageData, PackageData.thrift_spec), None, ), # 0 - (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None, ), # 1 + (0, TType.STRUCT, 'success', (PackageData, PackageData.thrift_spec), None,), # 0 + (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None,), # 1 ) def __init__(self, success=None, e=None,): @@ -4085,13 +4085,13 @@ class getFileData_args(TBase): - fid """ - __slots__ = [ + __slots__ = [ 'fid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 + (1, TType.I32, 'fid', None, None,), # 1 ) def __init__(self, fid=None,): @@ -4105,14 +4105,14 @@ class getFileData_result(TBase): - e """ - __slots__ = [ + __slots__ = [ 'success', 'e', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (FileData, FileData.thrift_spec), None, ), # 0 - (1, TType.STRUCT, 'e', (FileDoesNotExists, FileDoesNotExists.thrift_spec), None, ), # 1 + (0, TType.STRUCT, 'success', (FileData, FileData.thrift_spec), None,), # 0 + (1, TType.STRUCT, 'e', (FileDoesNotExists, FileDoesNotExists.thrift_spec), None,), # 1 ) def __init__(self, success=None, e=None,): @@ -4122,7 +4122,7 @@ class getFileData_result(TBase): class getQueue_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4135,12 +4135,12 @@ class getQueue_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(PackageData, PackageData.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (PackageData, PackageData.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4149,7 +4149,7 @@ class getQueue_result(TBase): class getCollector_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4162,12 +4162,12 @@ class getCollector_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(PackageData, PackageData.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (PackageData, PackageData.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4176,7 +4176,7 @@ class getCollector_result(TBase): class getQueueData_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4189,12 +4189,12 @@ class getQueueData_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(PackageData, PackageData.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (PackageData, PackageData.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4203,7 +4203,7 @@ class getQueueData_result(TBase): class getCollectorData_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4216,12 +4216,12 @@ class getCollectorData_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(PackageData, PackageData.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (PackageData, PackageData.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4234,13 +4234,13 @@ class getPackageOrder_args(TBase): - destination """ - __slots__ = [ + __slots__ = [ 'destination', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'destination', None, None, ), # 1 + (1, TType.I32, 'destination', None, None,), # 1 ) def __init__(self, destination=None,): @@ -4253,12 +4253,12 @@ class getPackageOrder_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.I16,None,TType.I32,None), None, ), # 0 + (0, TType.MAP, 'success', (TType.I16, None, TType.I32, None), None,), # 0 ) def __init__(self, success=None,): @@ -4271,13 +4271,13 @@ class getFileOrder_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4290,12 +4290,12 @@ class getFileOrder_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.I16,None,TType.I32,None), None, ), # 0 + (0, TType.MAP, 'success', (TType.I16, None, TType.I32, None), None,), # 0 ) def __init__(self, success=None,): @@ -4309,15 +4309,15 @@ class generateAndAddPackages_args(TBase): - dest """ - __slots__ = [ + __slots__ = [ 'links', 'dest', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'links', (TType.STRING,None), None, ), # 1 - (2, TType.I32, 'dest', None, None, ), # 2 + (1, TType.LIST, 'links', (TType.STRING, None), None,), # 1 + (2, TType.I32, 'dest', None, None,), # 2 ) def __init__(self, links=None, dest=None,): @@ -4331,12 +4331,12 @@ class generateAndAddPackages_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.I32,None), None, ), # 0 + (0, TType.LIST, 'success', (TType.I32, None), None,), # 0 ) def __init__(self, success=None,): @@ -4351,7 +4351,7 @@ class addPackage_args(TBase): - dest """ - __slots__ = [ + __slots__ = [ 'name', 'links', 'dest', @@ -4359,9 +4359,9 @@ class addPackage_args(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'name', None, None, ), # 1 - (2, TType.LIST, 'links', (TType.STRING,None), None, ), # 2 - (3, TType.I32, 'dest', None, None, ), # 3 + (1, TType.STRING, 'name', None, None,), # 1 + (2, TType.LIST, 'links', (TType.STRING, None), None,), # 2 + (3, TType.I32, 'dest', None, None,), # 3 ) def __init__(self, name=None, links=None, dest=None,): @@ -4376,12 +4376,12 @@ class addPackage_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.I32, 'success', None, None, ), # 0 + (0, TType.I32, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -4395,15 +4395,15 @@ class addFiles_args(TBase): - links """ - __slots__ = [ + __slots__ = [ 'pid', 'links', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 - (2, TType.LIST, 'links', (TType.STRING,None), None, ), # 2 + (1, TType.I32, 'pid', None, None,), # 1 + (2, TType.LIST, 'links', (TType.STRING, None), None,), # 2 ) def __init__(self, pid=None, links=None,): @@ -4413,7 +4413,7 @@ class addFiles_args(TBase): class addFiles_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4427,15 +4427,15 @@ class uploadContainer_args(TBase): - data """ - __slots__ = [ + __slots__ = [ 'filename', 'data', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'filename', None, None, ), # 1 - (2, TType.STRING, 'data', None, None, ), # 2 + (1, TType.STRING, 'filename', None, None,), # 1 + (2, TType.STRING, 'data', None, None,), # 2 ) def __init__(self, filename=None, data=None,): @@ -4445,7 +4445,7 @@ class uploadContainer_args(TBase): class uploadContainer_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4458,13 +4458,13 @@ class deleteFiles_args(TBase): - fids """ - __slots__ = [ + __slots__ = [ 'fids', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'fids', (TType.I32,None), None, ), # 1 + (1, TType.LIST, 'fids', (TType.I32, None), None,), # 1 ) def __init__(self, fids=None,): @@ -4473,7 +4473,7 @@ class deleteFiles_args(TBase): class deleteFiles_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4486,13 +4486,13 @@ class deletePackages_args(TBase): - pids """ - __slots__ = [ + __slots__ = [ 'pids', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'pids', (TType.I32,None), None, ), # 1 + (1, TType.LIST, 'pids', (TType.I32, None), None,), # 1 ) def __init__(self, pids=None,): @@ -4501,7 +4501,7 @@ class deletePackages_args(TBase): class deletePackages_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4514,13 +4514,13 @@ class pushToQueue_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4529,7 +4529,7 @@ class pushToQueue_args(TBase): class pushToQueue_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4542,13 +4542,13 @@ class pullFromQueue_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4557,7 +4557,7 @@ class pullFromQueue_args(TBase): class pullFromQueue_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4570,13 +4570,13 @@ class restartPackage_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4585,7 +4585,7 @@ class restartPackage_args(TBase): class restartPackage_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4598,13 +4598,13 @@ class restartFile_args(TBase): - fid """ - __slots__ = [ + __slots__ = [ 'fid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 + (1, TType.I32, 'fid', None, None,), # 1 ) def __init__(self, fid=None,): @@ -4613,7 +4613,7 @@ class restartFile_args(TBase): class restartFile_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4626,13 +4626,13 @@ class recheckPackage_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -4641,7 +4641,7 @@ class recheckPackage_args(TBase): class recheckPackage_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4650,7 +4650,7 @@ class recheckPackage_result(TBase): class stopAllDownloads_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4659,7 +4659,7 @@ class stopAllDownloads_args(TBase): class stopAllDownloads_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4672,13 +4672,13 @@ class stopDownloads_args(TBase): - fids """ - __slots__ = [ + __slots__ = [ 'fids', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'fids', (TType.I32,None), None, ), # 1 + (1, TType.LIST, 'fids', (TType.I32, None), None,), # 1 ) def __init__(self, fids=None,): @@ -4687,7 +4687,7 @@ class stopDownloads_args(TBase): class stopDownloads_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4701,15 +4701,15 @@ class setPackageName_args(TBase): - name """ - __slots__ = [ + __slots__ = [ 'pid', 'name', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 - (2, TType.STRING, 'name', None, None, ), # 2 + (1, TType.I32, 'pid', None, None,), # 1 + (2, TType.STRING, 'name', None, None,), # 2 ) def __init__(self, pid=None, name=None,): @@ -4719,7 +4719,7 @@ class setPackageName_args(TBase): class setPackageName_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4733,15 +4733,15 @@ class movePackage_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'destination', 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'destination', None, None, ), # 1 - (2, TType.I32, 'pid', None, None, ), # 2 + (1, TType.I32, 'destination', None, None,), # 1 + (2, TType.I32, 'pid', None, None,), # 2 ) def __init__(self, destination=None, pid=None,): @@ -4751,7 +4751,7 @@ class movePackage_args(TBase): class movePackage_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4765,15 +4765,15 @@ class moveFiles_args(TBase): - pid """ - __slots__ = [ + __slots__ = [ 'fids', 'pid', ] thrift_spec = ( None, # 0 - (1, TType.LIST, 'fids', (TType.I32,None), None, ), # 1 - (2, TType.I32, 'pid', None, None, ), # 2 + (1, TType.LIST, 'fids', (TType.I32, None), None,), # 1 + (2, TType.I32, 'pid', None, None,), # 2 ) def __init__(self, fids=None, pid=None,): @@ -4783,7 +4783,7 @@ class moveFiles_args(TBase): class moveFiles_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4797,15 +4797,15 @@ class orderPackage_args(TBase): - position """ - __slots__ = [ + __slots__ = [ 'pid', 'position', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 - (2, TType.I16, 'position', None, None, ), # 2 + (1, TType.I32, 'pid', None, None,), # 1 + (2, TType.I16, 'position', None, None,), # 2 ) def __init__(self, pid=None, position=None,): @@ -4815,7 +4815,7 @@ class orderPackage_args(TBase): class orderPackage_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4829,15 +4829,15 @@ class orderFile_args(TBase): - position """ - __slots__ = [ + __slots__ = [ 'fid', 'position', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 - (2, TType.I16, 'position', None, None, ), # 2 + (1, TType.I32, 'fid', None, None,), # 1 + (2, TType.I16, 'position', None, None,), # 2 ) def __init__(self, fid=None, position=None,): @@ -4847,7 +4847,7 @@ class orderFile_args(TBase): class orderFile_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4861,15 +4861,15 @@ class setPackageData_args(TBase): - data """ - __slots__ = [ + __slots__ = [ 'pid', 'data', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 - (2, TType.MAP, 'data', (TType.STRING,None,TType.STRING,None), None, ), # 2 + (1, TType.I32, 'pid', None, None,), # 1 + (2, TType.MAP, 'data', (TType.STRING, None, TType.STRING, None), None,), # 2 ) def __init__(self, pid=None, data=None,): @@ -4883,13 +4883,13 @@ class setPackageData_result(TBase): - e """ - __slots__ = [ + __slots__ = [ 'e', ] thrift_spec = ( None, # 0 - (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None, ), # 1 + (1, TType.STRUCT, 'e', (PackageDoesNotExists, PackageDoesNotExists.thrift_spec), None,), # 1 ) def __init__(self, e=None,): @@ -4898,7 +4898,7 @@ class setPackageData_result(TBase): class deleteFinished_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4911,12 +4911,12 @@ class deleteFinished_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.I32,None), None, ), # 0 + (0, TType.LIST, 'success', (TType.I32, None), None,), # 0 ) def __init__(self, success=None,): @@ -4925,7 +4925,7 @@ class deleteFinished_result(TBase): class restartFailed_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4934,7 +4934,7 @@ class restartFailed_args(TBase): class restartFailed_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -4947,13 +4947,13 @@ class getEvents_args(TBase): - uuid """ - __slots__ = [ + __slots__ = [ 'uuid', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'uuid', None, None, ), # 1 + (1, TType.STRING, 'uuid', None, None,), # 1 ) def __init__(self, uuid=None,): @@ -4966,12 +4966,12 @@ class getEvents_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(EventInfo, EventInfo.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (EventInfo, EventInfo.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -4984,13 +4984,13 @@ class getAccounts_args(TBase): - refresh """ - __slots__ = [ + __slots__ = [ 'refresh', ] thrift_spec = ( None, # 0 - (1, TType.BOOL, 'refresh', None, None, ), # 1 + (1, TType.BOOL, 'refresh', None, None,), # 1 ) def __init__(self, refresh=None,): @@ -5003,12 +5003,12 @@ class getAccounts_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(AccountInfo, AccountInfo.thrift_spec)), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRUCT, (AccountInfo, AccountInfo.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -5017,7 +5017,7 @@ class getAccounts_result(TBase): class getAccountTypes_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5030,12 +5030,12 @@ class getAccountTypes_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0 + (0, TType.LIST, 'success', (TType.STRING, None), None,), # 0 ) def __init__(self, success=None,): @@ -5051,7 +5051,7 @@ class updateAccount_args(TBase): - options """ - __slots__ = [ + __slots__ = [ 'plugin', 'account', 'password', @@ -5060,10 +5060,10 @@ class updateAccount_args(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 - (2, TType.STRING, 'account', None, None, ), # 2 - (3, TType.STRING, 'password', None, None, ), # 3 - (4, TType.MAP, 'options', (TType.STRING,None,TType.STRING,None), None, ), # 4 + (1, TType.STRING, 'plugin', None, None,), # 1 + (2, TType.STRING, 'account', None, None,), # 2 + (3, TType.STRING, 'password', None, None,), # 3 + (4, TType.MAP, 'options', (TType.STRING, None, TType.STRING, None), None,), # 4 ) def __init__(self, plugin=None, account=None, password=None, options=None,): @@ -5075,7 +5075,7 @@ class updateAccount_args(TBase): class updateAccount_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5089,15 +5089,15 @@ class removeAccount_args(TBase): - account """ - __slots__ = [ + __slots__ = [ 'plugin', 'account', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 - (2, TType.STRING, 'account', None, None, ), # 2 + (1, TType.STRING, 'plugin', None, None,), # 1 + (2, TType.STRING, 'account', None, None,), # 2 ) def __init__(self, plugin=None, account=None,): @@ -5107,7 +5107,7 @@ class removeAccount_args(TBase): class removeAccount_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5121,15 +5121,15 @@ class login_args(TBase): - password """ - __slots__ = [ + __slots__ = [ 'username', 'password', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'username', None, None, ), # 1 - (2, TType.STRING, 'password', None, None, ), # 2 + (1, TType.STRING, 'username', None, None,), # 1 + (2, TType.STRING, 'password', None, None,), # 2 ) def __init__(self, username=None, password=None,): @@ -5143,12 +5143,12 @@ class login_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -5162,15 +5162,15 @@ class getUserData_args(TBase): - password """ - __slots__ = [ + __slots__ = [ 'username', 'password', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'username', None, None, ), # 1 - (2, TType.STRING, 'password', None, None, ), # 2 + (1, TType.STRING, 'username', None, None,), # 1 + (2, TType.STRING, 'password', None, None,), # 2 ) def __init__(self, username=None, password=None,): @@ -5184,12 +5184,12 @@ class getUserData_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (UserData, UserData.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (UserData, UserData.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -5198,7 +5198,7 @@ class getUserData_result(TBase): class getAllUserData_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5211,12 +5211,12 @@ class getAllUserData_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(UserData, UserData.thrift_spec)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.STRUCT, (UserData, UserData.thrift_spec)), None,), # 0 ) def __init__(self, success=None,): @@ -5225,7 +5225,7 @@ class getAllUserData_result(TBase): class getServices_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5238,12 +5238,12 @@ class getServices_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.MAP,(TType.STRING,None,TType.STRING,None)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.MAP, (TType.STRING, None, TType.STRING, None)), None,), # 0 ) def __init__(self, success=None,): @@ -5257,15 +5257,15 @@ class hasService_args(TBase): - func """ - __slots__ = [ + __slots__ = [ 'plugin', 'func', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 - (2, TType.STRING, 'func', None, None, ), # 2 + (1, TType.STRING, 'plugin', None, None,), # 1 + (2, TType.STRING, 'func', None, None,), # 2 ) def __init__(self, plugin=None, func=None,): @@ -5279,12 +5279,12 @@ class hasService_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -5297,13 +5297,13 @@ class call_args(TBase): - info """ - __slots__ = [ + __slots__ = [ 'info', ] thrift_spec = ( None, # 0 - (1, TType.STRUCT, 'info', (ServiceCall, ServiceCall.thrift_spec), None, ), # 1 + (1, TType.STRUCT, 'info', (ServiceCall, ServiceCall.thrift_spec), None,), # 1 ) def __init__(self, info=None,): @@ -5318,16 +5318,16 @@ class call_result(TBase): - e """ - __slots__ = [ + __slots__ = [ 'success', 'ex', 'e', ] thrift_spec = ( - (0, TType.STRING, 'success', None, None, ), # 0 - (1, TType.STRUCT, 'ex', (ServiceDoesNotExists, ServiceDoesNotExists.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'e', (ServiceException, ServiceException.thrift_spec), None, ), # 2 + (0, TType.STRING, 'success', None, None,), # 0 + (1, TType.STRUCT, 'ex', (ServiceDoesNotExists, ServiceDoesNotExists.thrift_spec), None,), # 1 + (2, TType.STRUCT, 'e', (ServiceException, ServiceException.thrift_spec), None,), # 2 ) def __init__(self, success=None, ex=None, e=None,): @@ -5338,7 +5338,7 @@ class call_result(TBase): class getAllInfo_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5351,12 +5351,12 @@ class getAllInfo_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.MAP,(TType.STRING,None,TType.STRING,None)), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.MAP, (TType.STRING, None, TType.STRING, None)), None,), # 0 ) def __init__(self, success=None,): @@ -5369,13 +5369,13 @@ class getInfoByPlugin_args(TBase): - plugin """ - __slots__ = [ + __slots__ = [ 'plugin', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 + (1, TType.STRING, 'plugin', None, None,), # 1 ) def __init__(self, plugin=None,): @@ -5388,12 +5388,12 @@ class getInfoByPlugin_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRING,None), None, ), # 0 + (0, TType.MAP, 'success', (TType.STRING, None, TType.STRING, None), None,), # 0 ) def __init__(self, success=None,): @@ -5402,7 +5402,7 @@ class getInfoByPlugin_result(TBase): class isCaptchaWaiting_args(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( @@ -5415,12 +5415,12 @@ class isCaptchaWaiting_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.BOOL, 'success', None, None, ), # 0 + (0, TType.BOOL, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -5433,13 +5433,13 @@ class getCaptchaTask_args(TBase): - exclusive """ - __slots__ = [ + __slots__ = [ 'exclusive', ] thrift_spec = ( None, # 0 - (1, TType.BOOL, 'exclusive', None, None, ), # 1 + (1, TType.BOOL, 'exclusive', None, None,), # 1 ) def __init__(self, exclusive=None,): @@ -5452,12 +5452,12 @@ class getCaptchaTask_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRUCT, 'success', (CaptchaTask, CaptchaTask.thrift_spec), None, ), # 0 + (0, TType.STRUCT, 'success', (CaptchaTask, CaptchaTask.thrift_spec), None,), # 0 ) def __init__(self, success=None,): @@ -5470,13 +5470,13 @@ class getCaptchaTaskStatus_args(TBase): - tid """ - __slots__ = [ + __slots__ = [ 'tid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'tid', None, None, ), # 1 + (1, TType.I32, 'tid', None, None,), # 1 ) def __init__(self, tid=None,): @@ -5489,12 +5489,12 @@ class getCaptchaTaskStatus_result(TBase): - success """ - __slots__ = [ + __slots__ = [ 'success', ] thrift_spec = ( - (0, TType.STRING, 'success', None, None, ), # 0 + (0, TType.STRING, 'success', None, None,), # 0 ) def __init__(self, success=None,): @@ -5508,15 +5508,15 @@ class setCaptchaResult_args(TBase): - result """ - __slots__ = [ + __slots__ = [ 'tid', 'result', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'tid', None, None, ), # 1 - (2, TType.STRING, 'result', None, None, ), # 2 + (1, TType.I32, 'tid', None, None,), # 1 + (2, TType.STRING, 'result', None, None,), # 2 ) def __init__(self, tid=None, result=None,): @@ -5526,9 +5526,8 @@ class setCaptchaResult_args(TBase): class setCaptchaResult_result(TBase): - __slots__ = [ + __slots__ = [ ] thrift_spec = ( ) - diff --git a/module/remote/thriftbackend/thriftgen/pyload/__init__.py b/module/remote/thriftbackend/thriftgen/pyload/__init__.py index ce7f52598..9a0fb88bf 100644 --- a/module/remote/thriftbackend/thriftgen/pyload/__init__.py +++ b/module/remote/thriftbackend/thriftgen/pyload/__init__.py @@ -1 +1,3 @@ +# -*- coding: utf-8 -*- + __all__ = ['ttypes', 'constants', 'Pyload'] diff --git a/module/remote/thriftbackend/thriftgen/pyload/constants.py b/module/remote/thriftbackend/thriftgen/pyload/constants.py index f8960dc63..3bdd64cc1 100644 --- a/module/remote/thriftbackend/thriftgen/pyload/constants.py +++ b/module/remote/thriftbackend/thriftgen/pyload/constants.py @@ -3,9 +3,8 @@ # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # -# options string: py:slots,dynamic +# options string: py:slots, dynamic # from thrift.Thrift import TType, TMessageType, TException from ttypes import * - diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py index 1299b515d..67d23161d 100644 --- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py +++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py @@ -3,7 +3,7 @@ # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # -# options string: py:slots,dynamic +# options string: py:slots, dynamic # from thrift.Thrift import TType, TMessageType, TException @@ -169,7 +169,7 @@ class DownloadInfo(TBase): - plugin """ - __slots__ = [ + __slots__ = [ 'fid', 'name', 'speed', @@ -190,22 +190,22 @@ class DownloadInfo(TBase): thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 - (2, TType.STRING, 'name', None, None, ), # 2 - (3, TType.I64, 'speed', None, None, ), # 3 - (4, TType.I32, 'eta', None, None, ), # 4 - (5, TType.STRING, 'format_eta', None, None, ), # 5 - (6, TType.I64, 'bleft', None, None, ), # 6 - (7, TType.I64, 'size', None, None, ), # 7 - (8, TType.STRING, 'format_size', None, None, ), # 8 - (9, TType.BYTE, 'percent', None, None, ), # 9 - (10, TType.I32, 'status', None, None, ), # 10 - (11, TType.STRING, 'statusmsg', None, None, ), # 11 - (12, TType.STRING, 'format_wait', None, None, ), # 12 - (13, TType.I64, 'wait_until', None, None, ), # 13 - (14, TType.I32, 'packageID', None, None, ), # 14 - (15, TType.STRING, 'packageName', None, None, ), # 15 - (16, TType.STRING, 'plugin', None, None, ), # 16 + (1, TType.I32, 'fid', None, None,), # 1 + (2, TType.STRING, 'name', None, None,), # 2 + (3, TType.I64, 'speed', None, None,), # 3 + (4, TType.I32, 'eta', None, None,), # 4 + (5, TType.STRING, 'format_eta', None, None,), # 5 + (6, TType.I64, 'bleft', None, None,), # 6 + (7, TType.I64, 'size', None, None,), # 7 + (8, TType.STRING, 'format_size', None, None,), # 8 + (9, TType.BYTE, 'percent', None, None,), # 9 + (10, TType.I32, 'status', None, None,), # 10 + (11, TType.STRING, 'statusmsg', None, None,), # 11 + (12, TType.STRING, 'format_wait', None, None,), # 12 + (13, TType.I64, 'wait_until', None, None,), # 13 + (14, TType.I32, 'packageID', None, None,), # 14 + (15, TType.STRING, 'packageName', None, None,), # 15 + (16, TType.STRING, 'plugin', None, None,), # 16 ) def __init__(self, fid=None, name=None, speed=None, eta=None, format_eta=None, bleft=None, size=None, format_size=None, percent=None, status=None, statusmsg=None, format_wait=None, wait_until=None, packageID=None, packageName=None, plugin=None,): @@ -239,7 +239,7 @@ class ServerStatus(TBase): - reconnect """ - __slots__ = [ + __slots__ = [ 'pause', 'active', 'queue', @@ -251,13 +251,13 @@ class ServerStatus(TBase): thrift_spec = ( None, # 0 - (1, TType.BOOL, 'pause', None, None, ), # 1 - (2, TType.I16, 'active', None, None, ), # 2 - (3, TType.I16, 'queue', None, None, ), # 3 - (4, TType.I16, 'total', None, None, ), # 4 - (5, TType.I64, 'speed', None, None, ), # 5 - (6, TType.BOOL, 'download', None, None, ), # 6 - (7, TType.BOOL, 'reconnect', None, None, ), # 7 + (1, TType.BOOL, 'pause', None, None,), # 1 + (2, TType.I16, 'active', None, None,), # 2 + (3, TType.I16, 'queue', None, None,), # 3 + (4, TType.I16, 'total', None, None,), # 4 + (5, TType.I64, 'speed', None, None,), # 5 + (6, TType.BOOL, 'download', None, None,), # 6 + (7, TType.BOOL, 'reconnect', None, None,), # 7 ) def __init__(self, pause=None, active=None, queue=None, total=None, speed=None, download=None, reconnect=None,): @@ -279,7 +279,7 @@ class ConfigItem(TBase): - type """ - __slots__ = [ + __slots__ = [ 'name', 'description', 'value', @@ -288,10 +288,10 @@ class ConfigItem(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'name', None, None, ), # 1 - (2, TType.STRING, 'description', None, None, ), # 2 - (3, TType.STRING, 'value', None, None, ), # 3 - (4, TType.STRING, 'type', None, None, ), # 4 + (1, TType.STRING, 'name', None, None,), # 1 + (2, TType.STRING, 'description', None, None,), # 2 + (3, TType.STRING, 'value', None, None,), # 3 + (4, TType.STRING, 'type', None, None,), # 4 ) def __init__(self, name=None, description=None, value=None, type=None,): @@ -310,7 +310,7 @@ class ConfigSection(TBase): - outline """ - __slots__ = [ + __slots__ = [ 'name', 'description', 'items', @@ -319,10 +319,10 @@ class ConfigSection(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'name', None, None, ), # 1 - (2, TType.STRING, 'description', None, None, ), # 2 - (3, TType.LIST, 'items', (TType.STRUCT,(ConfigItem, ConfigItem.thrift_spec)), None, ), # 3 - (4, TType.STRING, 'outline', None, None, ), # 4 + (1, TType.STRING, 'name', None, None,), # 1 + (2, TType.STRING, 'description', None, None,), # 2 + (3, TType.LIST, 'items', (TType.STRUCT, (ConfigItem, ConfigItem.thrift_spec)), None,), # 3 + (4, TType.STRING, 'outline', None, None,), # 4 ) def __init__(self, name=None, description=None, items=None, outline=None,): @@ -348,7 +348,7 @@ class FileData(TBase): - order """ - __slots__ = [ + __slots__ = [ 'fid', 'url', 'name', @@ -364,17 +364,17 @@ class FileData(TBase): thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 - (2, TType.STRING, 'url', None, None, ), # 2 - (3, TType.STRING, 'name', None, None, ), # 3 - (4, TType.STRING, 'plugin', None, None, ), # 4 - (5, TType.I64, 'size', None, None, ), # 5 - (6, TType.STRING, 'format_size', None, None, ), # 6 - (7, TType.I32, 'status', None, None, ), # 7 - (8, TType.STRING, 'statusmsg', None, None, ), # 8 - (9, TType.I32, 'packageID', None, None, ), # 9 - (10, TType.STRING, 'error', None, None, ), # 10 - (11, TType.I16, 'order', None, None, ), # 11 + (1, TType.I32, 'fid', None, None,), # 1 + (2, TType.STRING, 'url', None, None,), # 2 + (3, TType.STRING, 'name', None, None,), # 3 + (4, TType.STRING, 'plugin', None, None,), # 4 + (5, TType.I64, 'size', None, None,), # 5 + (6, TType.STRING, 'format_size', None, None,), # 6 + (7, TType.I32, 'status', None, None,), # 7 + (8, TType.STRING, 'statusmsg', None, None,), # 8 + (9, TType.I32, 'packageID', None, None,), # 9 + (10, TType.STRING, 'error', None, None,), # 10 + (11, TType.I16, 'order', None, None,), # 11 ) def __init__(self, fid=None, url=None, name=None, plugin=None, size=None, format_size=None, status=None, statusmsg=None, packageID=None, error=None, order=None,): @@ -409,7 +409,7 @@ class PackageData(TBase): - fids """ - __slots__ = [ + __slots__ = [ 'pid', 'name', 'folder', @@ -427,19 +427,19 @@ class PackageData(TBase): thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 - (2, TType.STRING, 'name', None, None, ), # 2 - (3, TType.STRING, 'folder', None, None, ), # 3 - (4, TType.STRING, 'site', None, None, ), # 4 - (5, TType.STRING, 'password', None, None, ), # 5 - (6, TType.I32, 'dest', None, None, ), # 6 - (7, TType.I16, 'order', None, None, ), # 7 - (8, TType.I16, 'linksdone', None, None, ), # 8 - (9, TType.I64, 'sizedone', None, None, ), # 9 - (10, TType.I64, 'sizetotal', None, None, ), # 10 - (11, TType.I16, 'linkstotal', None, None, ), # 11 - (12, TType.LIST, 'links', (TType.STRUCT,(FileData, FileData.thrift_spec)), None, ), # 12 - (13, TType.LIST, 'fids', (TType.I32,None), None, ), # 13 + (1, TType.I32, 'pid', None, None,), # 1 + (2, TType.STRING, 'name', None, None,), # 2 + (3, TType.STRING, 'folder', None, None,), # 3 + (4, TType.STRING, 'site', None, None,), # 4 + (5, TType.STRING, 'password', None, None,), # 5 + (6, TType.I32, 'dest', None, None,), # 6 + (7, TType.I16, 'order', None, None,), # 7 + (8, TType.I16, 'linksdone', None, None,), # 8 + (9, TType.I64, 'sizedone', None, None,), # 9 + (10, TType.I64, 'sizetotal', None, None,), # 10 + (11, TType.I16, 'linkstotal', None, None,), # 11 + (12, TType.LIST, 'links', (TType.STRUCT, (FileData, FileData.thrift_spec)), None,), # 12 + (13, TType.LIST, 'fids', (TType.I32, None), None,), # 13 ) def __init__(self, pid=None, name=None, folder=None, site=None, password=None, dest=None, order=None, linksdone=None, sizedone=None, sizetotal=None, linkstotal=None, links=None, fids=None,): @@ -472,7 +472,7 @@ class InteractionTask(TBase): - plugin """ - __slots__ = [ + __slots__ = [ 'iid', 'input', 'structure', @@ -486,15 +486,15 @@ class InteractionTask(TBase): thrift_spec = ( None, # 0 - (1, TType.I32, 'iid', None, None, ), # 1 - (2, TType.I32, 'input', None, None, ), # 2 - (3, TType.LIST, 'structure', (TType.STRING,None), None, ), # 3 - (4, TType.LIST, 'preset', (TType.STRING,None), None, ), # 4 - (5, TType.I32, 'output', None, None, ), # 5 - (6, TType.LIST, 'data', (TType.STRING,None), None, ), # 6 - (7, TType.STRING, 'title', None, None, ), # 7 - (8, TType.STRING, 'description', None, None, ), # 8 - (9, TType.STRING, 'plugin', None, None, ), # 9 + (1, TType.I32, 'iid', None, None,), # 1 + (2, TType.I32, 'input', None, None,), # 2 + (3, TType.LIST, 'structure', (TType.STRING, None), None,), # 3 + (4, TType.LIST, 'preset', (TType.STRING, None), None,), # 4 + (5, TType.I32, 'output', None, None,), # 5 + (6, TType.LIST, 'data', (TType.STRING, None), None,), # 6 + (7, TType.STRING, 'title', None, None,), # 7 + (8, TType.STRING, 'description', None, None,), # 8 + (9, TType.STRING, 'plugin', None, None,), # 9 ) def __init__(self, iid=None, input=None, structure=None, preset=None, output=None, data=None, title=None, description=None, plugin=None,): @@ -518,7 +518,7 @@ class CaptchaTask(TBase): - resultType """ - __slots__ = [ + __slots__ = [ 'tid', 'data', 'type', @@ -527,10 +527,10 @@ class CaptchaTask(TBase): thrift_spec = ( None, # 0 - (1, TType.I16, 'tid', None, None, ), # 1 - (2, TType.STRING, 'data', None, None, ), # 2 - (3, TType.STRING, 'type', None, None, ), # 3 - (4, TType.STRING, 'resultType', None, None, ), # 4 + (1, TType.I16, 'tid', None, None,), # 1 + (2, TType.STRING, 'data', None, None,), # 2 + (3, TType.STRING, 'type', None, None,), # 3 + (4, TType.STRING, 'resultType', None, None,), # 4 ) def __init__(self, tid=None, data=None, type=None, resultType=None,): @@ -549,7 +549,7 @@ class EventInfo(TBase): - destination """ - __slots__ = [ + __slots__ = [ 'eventname', 'id', 'type', @@ -558,10 +558,10 @@ class EventInfo(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'eventname', None, None, ), # 1 - (2, TType.I32, 'id', None, None, ), # 2 - (3, TType.I32, 'type', None, None, ), # 3 - (4, TType.I32, 'destination', None, None, ), # 4 + (1, TType.STRING, 'eventname', None, None,), # 1 + (2, TType.I32, 'id', None, None,), # 2 + (3, TType.I32, 'type', None, None,), # 3 + (4, TType.I32, 'destination', None, None,), # 4 ) def __init__(self, eventname=None, id=None, type=None, destination=None,): @@ -581,7 +581,7 @@ class UserData(TBase): - templateName """ - __slots__ = [ + __slots__ = [ 'name', 'email', 'role', @@ -591,11 +591,11 @@ class UserData(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'name', None, None, ), # 1 - (2, TType.STRING, 'email', None, None, ), # 2 - (3, TType.I32, 'role', None, None, ), # 3 - (4, TType.I32, 'permission', None, None, ), # 4 - (5, TType.STRING, 'templateName', None, None, ), # 5 + (1, TType.STRING, 'name', None, None,), # 1 + (2, TType.STRING, 'email', None, None,), # 2 + (3, TType.I32, 'role', None, None,), # 3 + (4, TType.I32, 'permission', None, None,), # 4 + (5, TType.STRING, 'templateName', None, None,), # 5 ) def __init__(self, name=None, email=None, role=None, permission=None, templateName=None,): @@ -619,7 +619,7 @@ class AccountInfo(TBase): - type """ - __slots__ = [ + __slots__ = [ 'validuntil', 'login', 'options', @@ -632,14 +632,14 @@ class AccountInfo(TBase): thrift_spec = ( None, # 0 - (1, TType.I64, 'validuntil', None, None, ), # 1 - (2, TType.STRING, 'login', None, None, ), # 2 - (3, TType.MAP, 'options', (TType.STRING,None,TType.LIST,(TType.STRING,None)), None, ), # 3 - (4, TType.BOOL, 'valid', None, None, ), # 4 - (5, TType.I64, 'trafficleft', None, None, ), # 5 - (6, TType.I64, 'maxtraffic', None, None, ), # 6 - (7, TType.BOOL, 'premium', None, None, ), # 7 - (8, TType.STRING, 'type', None, None, ), # 8 + (1, TType.I64, 'validuntil', None, None,), # 1 + (2, TType.STRING, 'login', None, None,), # 2 + (3, TType.MAP, 'options', (TType.STRING, None, TType.LIST, (TType.STRING, None)), None,), # 3 + (4, TType.BOOL, 'valid', None, None,), # 4 + (5, TType.I64, 'trafficleft', None, None,), # 5 + (6, TType.I64, 'maxtraffic', None, None,), # 6 + (7, TType.BOOL, 'premium', None, None,), # 7 + (8, TType.STRING, 'type', None, None,), # 8 ) def __init__(self, validuntil=None, login=None, options=None, valid=None, trafficleft=None, maxtraffic=None, premium=None, type=None,): @@ -662,7 +662,7 @@ class ServiceCall(TBase): - parseArguments """ - __slots__ = [ + __slots__ = [ 'plugin', 'func', 'arguments', @@ -671,10 +671,10 @@ class ServiceCall(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 - (2, TType.STRING, 'func', None, None, ), # 2 - (3, TType.LIST, 'arguments', (TType.STRING,None), None, ), # 3 - (4, TType.BOOL, 'parseArguments', None, None, ), # 4 + (1, TType.STRING, 'plugin', None, None,), # 1 + (2, TType.STRING, 'func', None, None,), # 2 + (3, TType.LIST, 'arguments', (TType.STRING, None), None,), # 3 + (4, TType.BOOL, 'parseArguments', None, None,), # 4 ) def __init__(self, plugin=None, func=None, arguments=None, parseArguments=None,): @@ -694,7 +694,7 @@ class OnlineStatus(TBase): - size """ - __slots__ = [ + __slots__ = [ 'name', 'plugin', 'packagename', @@ -704,11 +704,11 @@ class OnlineStatus(TBase): thrift_spec = ( None, # 0 - (1, TType.STRING, 'name', None, None, ), # 1 - (2, TType.STRING, 'plugin', None, None, ), # 2 - (3, TType.STRING, 'packagename', None, None, ), # 3 - (4, TType.I32, 'status', None, None, ), # 4 - (5, TType.I64, 'size', None, None, ), # 5 + (1, TType.STRING, 'name', None, None,), # 1 + (2, TType.STRING, 'plugin', None, None,), # 2 + (3, TType.STRING, 'packagename', None, None,), # 3 + (4, TType.I32, 'status', None, None,), # 4 + (5, TType.I64, 'size', None, None,), # 5 ) def __init__(self, name=None, plugin=None, packagename=None, status=None, size=None,): @@ -726,15 +726,15 @@ class OnlineCheck(TBase): - data """ - __slots__ = [ + __slots__ = [ 'rid', 'data', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'rid', None, None, ), # 1 - (2, TType.MAP, 'data', (TType.STRING,None,TType.STRUCT,(OnlineStatus, OnlineStatus.thrift_spec)), None, ), # 2 + (1, TType.I32, 'rid', None, None,), # 1 + (2, TType.MAP, 'data', (TType.STRING, None, TType.STRUCT, (OnlineStatus, OnlineStatus.thrift_spec)), None,), # 2 ) def __init__(self, rid=None, data=None,): @@ -748,13 +748,13 @@ class PackageDoesNotExists(TExceptionBase): - pid """ - __slots__ = [ + __slots__ = [ 'pid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'pid', None, None, ), # 1 + (1, TType.I32, 'pid', None, None,), # 1 ) def __init__(self, pid=None,): @@ -770,13 +770,13 @@ class FileDoesNotExists(TExceptionBase): - fid """ - __slots__ = [ + __slots__ = [ 'fid', ] thrift_spec = ( None, # 0 - (1, TType.I32, 'fid', None, None, ), # 1 + (1, TType.I32, 'fid', None, None,), # 1 ) def __init__(self, fid=None,): @@ -793,15 +793,15 @@ class ServiceDoesNotExists(TExceptionBase): - func """ - __slots__ = [ + __slots__ = [ 'plugin', 'func', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'plugin', None, None, ), # 1 - (2, TType.STRING, 'func', None, None, ), # 2 + (1, TType.STRING, 'plugin', None, None,), # 1 + (2, TType.STRING, 'func', None, None,), # 2 ) def __init__(self, plugin=None, func=None,): @@ -818,13 +818,13 @@ class ServiceException(TExceptionBase): - msg """ - __slots__ = [ + __slots__ = [ 'msg', ] thrift_spec = ( None, # 0 - (1, TType.STRING, 'msg', None, None, ), # 1 + (1, TType.STRING, 'msg', None, None,), # 1 ) def __init__(self, msg=None,): @@ -832,4 +832,3 @@ class ServiceException(TExceptionBase): def __str__(self): return repr(self) - |