RoyLee1224 commented on PR #57373:
URL: https://github.com/apache/airflow/pull/57373#issuecomment-3470441733
### Update
Hi, @vincbeck
I've pushed the changes we discussed. Here’s the summary:
- Changed the `conn_id` and `conn_type` type annotations to `Mapped[str]` to
match the `nullable=False` constraint
- Added validation in `Connection.__init__`:
- It now allows `conn_id` to be `None` only for URI-based connections
(used`type: ignore` just for that specific path).
- Fixed 17 test files by providing the required `conn_id` and `conn_type`
parameters.
--
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]