(instance)
return {
            '_id': instance.checkpoint_id,
            'seq': instance.sequence,
            'timestamp': instance.timestamp.isoformat(),
            'old_seq': instance.old_sequence,
        }
Return a dictionary that looks like the Couch-based implementation of these.
Return a dictionary that looks like the Couch-based implementation of these.
Return a dictionary that looks like the Couch - based implementation of these .
def to_dict(instance):
        """
        Return a dictionary that looks like the Couch-based implementation of these.
        """
        return {
            '_id': instance.checkpoint_id,
            'seq': instance.sequence,
            'timestamp': instance.timestamp.isoformat(),
            'old_seq': instance.old_sequence,
        }
def to_dict ( instance ) : return { '_id' : instance . checkpoint_id , 'seq' : instance . sequence , 'timestamp' : instance . timestamp . isoformat ( ) , 'old_seq' : instance . old_sequence , }