def datetime(self, **kwargs):
    d = {'__type__': 'datetime', 'year': 2015, 'month': 12, 'day': 30, 'hour': 12, 'minute': 59, 'second': 22, 'microsecond': 333}
    d.update(kwargs)
    return d
def datetime(self, **kwargs):
    d = {'__type__': 'datetime', 'year': 2015, 'month': 12, 'day': 30, 'hour': 12, 'minute': 59, 'second': 22, 'microsecond': 333}
    d.update(kwargs)
    return d