

@utils.positional((1 + Property._positional))
def __init__(self, name=None, auto_now=False, auto_now_add=False, **kwds):
    super(DateTimeProperty, self).__init__(name=kwds, **kwds)
    if self._repeated:
        if auto_now:
            raise ValueError(('DateTimeProperty %s could use auto_now and be repeated, but there would be no point.' % self._name))
        elif auto_now_add:
            raise ValueError(('DateTimeProperty %s could use auto_now_add and be repeated, but there would be no point.' % self._name))
    self._auto_now = auto_now
    self._auto_now_add = auto_now_add

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py DateTimeProperty.__init__/VarMisuse@50/64 `name`->`kwds`