uranusjr edited a comment on pull request #20422:
URL: https://github.com/apache/airflow/pull/20422#issuecomment-999225926


   I don’t think we need the `else` part. This should work:
   
   ```python
   if TYPE_CHECKING:
       from airflow.utils.context import Context
   
   def execute(self, context: "Context") -> None:
       ...
   ```


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