ashb commented on code in PR #55252:
URL: https://github.com/apache/airflow/pull/55252#discussion_r2374918962


##########
task-sdk/src/airflow/sdk/bases/decorator.py:
##########
@@ -65,6 +67,9 @@
     from airflow.sdk.definitions.mappedoperator import ValidationSource
     from airflow.sdk.definitions.taskgroup import TaskGroup
 
+STANDARD_NAMES = set(dir(builtins))
+STANDARD_NAMES.update(dir(time))

Review Comment:
   This isn't scalable. Why _just_ the time module? What about the 100s of 
other modules in the standard library?



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