def _validate(self, value):
    if not isinstance(value, Flexidate):
      raise TypeError((value,) % 'expected Flexidate, got %r')
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/samples/custom.py/FlexidateProperty._validate/swapped operands of `%`