dstandish commented on issue #27593:
URL: https://github.com/apache/airflow/issues/27593#issuecomment-1310961111

   ok here's repro code: 
   ```python
   from __future__ import annotations
   
   from kubernetes.client import models as k8s
   
   from airflow.callbacks.callback_requests import TaskCallbackRequest
   from airflow.models import TaskInstance
   from airflow.models.taskinstance import SimpleTaskInstance
   from airflow.operators.bash import BashOperator
   
   op = BashOperator(task_id="hi", executor_config={"pod_override": 
k8s.V1Pod()}, bash_command="hi")
   ti = TaskInstance(task=op)
   
   s = SimpleTaskInstance.from_ti(ti)
   
   TaskCallbackRequest("hi", s).to_json()
   ```
   
   i don't think it's caused by that PR.


-- 
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