henry3260 commented on code in PR #57862:
URL: https://github.com/apache/airflow/pull/57862#discussion_r2497863733


##########
airflow-core/src/airflow/utils/sqlalchemy.py:
##########
@@ -328,16 +328,18 @@ def nulls_first(col: ColumnElement, session: Session) -> 
ColumnElement:
 
 USE_ROW_LEVEL_LOCKING: bool = conf.getboolean("scheduler", 
"use_row_level_locking", fallback=True)
 
+T = TypeVar("T", bound=tuple[Any, ...])

Review Comment:
   Hi @Dev-iL, good point. I used `tuple[Any, ...] `to be more explicit.
   It clearly shows it’s a variable-length tuple (...) of any type (Any),
   which I find is a bit more precise and readable in the modern syntax.



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