Context.task_type#

property Context.task_type: deepchecks.nlp.task_type.TaskType#

Return task type if model & train_dataset & label exists. otherwise, raise error.