Cast from list in Tuple traitlet