https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
warnings.warn(
            "This method is deprecated. Use BaseSerialization.deserialize.",
            RemovedInAirflow3Warning,
            stacklevel=2,
        )
        ti_key = TaskInstanceKey(*obj_dict.pop("key"))
        start_date = None
        end_date = None
        start_date_str: str | None = obj_dict.pop("start_date")
        end_date_str: str | None = obj_dict.pop("end_date")
        if start_date_str:
            start_date = timezone.parse(start_date_str)
        if end_date_str:
            end_date = timezone.parse(end_date_str)
        return cls(**obj_dict, start_date=start_date, end_date=end_date, key=ti_key)
class TaskInstanceNote(Base):