uranusjr opened a new pull request, #32518: URL: https://github.com/apache/airflow/pull/32518
As mentioned in #32177. * Move some imports to type-checking block to avoid runtime cost * Use `SELECT 1` to avoid loading ORM model objects unnecessarily * Use scalars() to avoid needing to unpack ORM models * Use `table.c[key]` instead of getattr(table.c, key). They work basically the same, except getattr is worse for this purpose (potential name conflicts) * Use generators when the arguments are immediately unpacked into a function call so there's no need to produce an intermediate list -- 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]
