jscheffl commented on code in PR #45627:
URL: https://github.com/apache/airflow/pull/45627#discussion_r1922889372


##########
airflow/cli/commands/remote_commands/task_command.py:
##########
@@ -206,6 +206,11 @@ def _get_ti(
     dag = task.dag
     if dag is None:
         raise ValueError("Cannot get task instance for a task not assigned to 
a DAG")
+    if not isinstance(dag, DAG):
+        # SHouldn't really happen, and this command will go away before 3.0

Review Comment:
   (1) typo... and (2) should it have a TODO to be remonded to clean-up before 
3.0? 
   ```suggestion
           # TODO: Task-SDK: Shouldn't really happen, and this command will go 
away before 3.0
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to