def sync_point_create(context, values): sync_point_ref = models.SyncPoint() sync_point_ref.update(values) sync_point_ref.save(_session(context)) return sync_point_ref
def sync_point_create(context, values): values['entity_id'] = str(values['entity_id']) sync_point_ref = models.SyncPoint() sync_point_ref.update(values) sync_point_ref.save(_session(context)) return sync_point_ref