Lee-W commented on code in PR #61728:
URL: https://github.com/apache/airflow/pull/61728#discussion_r2791306202


##########
task-sdk/src/airflow/sdk/definitions/connection.py:
##########
@@ -111,7 +111,7 @@ class Connection:
     """
 
     conn_id: str
-    conn_type: str
+    conn_type: str | None = None

Review Comment:
   Since this behavior only exists in Airflow 2, should we raise a deprecation 
warning or something similar? if not possible, probably can add a comment here 
to explain why we need to do it



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