def serialize_blockings(data): from indico.modules.rb.schemas import simple_blockings_schema return { dt.isoformat(): simple_blockings_schema.dump(data) for dt, data in data.items() }
def serialize_blockings(data): from indico.modules.rb.schemas import (simple_blockings_schema) return {dt.isoformat(): simple_blockings_schema.dump(data) for dt, data in data.iteritems()}