TypeDecorator derived type support SelectField coerce callable generator