def serialize(self, value):
        if isinstance(value, self.type_):
            return self.format % as_mapping(value)
        else:
            return unicode(value)
Serializes value to string.
dataset/ETHPy150Open jek/flatland/flatland/schema/scalars.py/Temporal.serialize