Beispiel #1
0
 def docfromnum(self, num):
     return {'_id': util.utype(num), 'num': int(num / 2)}
Beispiel #2
0
 def _to_json(self, value):
     return util.utype(value)
Beispiel #3
0
 def __unicode__(self):
     return util.utype(self.list)
Beispiel #4
0
 def _to_python(self, value):
     return util.utype(value)
Beispiel #5
0
 def __unicode__(self):
     return util.utype(self.list)
Beispiel #6
0
 def _to_json(self, value):
     return util.utype(value)
Beispiel #7
0
 def _to_python(self, value):
     return util.utype(value)
Beispiel #8
0
 def docfromnum(self, num):
     return {'_id': util.utype(num), 'num': int(num / 2)}