Esempio n. 1
0
 def __unicode__(self):
     command = EvaluateCommand(self._id, "unicode")
     response = command.push(self._proxy)
     return str(response.interpret(self._proxy))
Esempio n. 2
0
 def __str__(self):
     command = EvaluateCommand(self._id, "string")
     response = command.push(self._proxy)
     return str(response.interpret(self._proxy))
Esempio n. 3
0
 def __int__(self):
     command = EvaluateCommand(self._id, "integer")
     response = command.push(self._proxy)
     return int(response.interpret(self._proxy))
Esempio n. 4
0
 def __bool__(self):
     command = EvaluateCommand(self._id, "boolean")
     response = command.push(self._proxy)
     return bool(response.interpret(self._proxy))
Esempio n. 5
0
	def __iter__(self):
		command = EvaluateCommand(self._id, 'list')
		response = command.push(self._proxy)
		return iter(response.interpret(self._proxy))