equal
deleted
inserted
replaced
408 vobject.vreg = self |
408 vobject.vreg = self |
409 vobject.schema = self.schema |
409 vobject.schema = self.schema |
410 vobject.config = self.config |
410 vobject.config = self.config |
411 return super(MulCnxCubicWebRegistry, self).select(vobjects, *args, **kwargs) |
411 return super(MulCnxCubicWebRegistry, self).select(vobjects, *args, **kwargs) |
412 |
412 |
413 from mx.DateTime import DateTime, Time, DateTimeDelta |
413 from datetime import datetime, date, time, timedelta |
414 |
414 |
415 YAMS_TO_PY = { |
415 YAMS_TO_PY = { |
416 'Boolean': bool, |
416 'Boolean': bool, |
417 'String' : unicode, |
417 'String' : unicode, |
418 'Password': str, |
418 'Password': str, |
419 'Bytes': Binary, |
419 'Bytes': Binary, |
420 'Int': int, |
420 'Int': int, |
421 'Float': float, |
421 'Float': float, |
422 'Date': DateTime, |
422 'Date': date, |
423 'Datetime': DateTime, |
423 'Datetime': datetime, |
424 'Time': Time, |
424 'Time': time, |
425 'Interval': DateTimeDelta, |
425 'Interval': timedelta, |
426 } |
426 } |
427 |
427 |