kaxil commented on code in PR #48880:
URL: https://github.com/apache/airflow/pull/48880#discussion_r2031537773


##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -547,7 +547,7 @@ class CommsDecoder(Generic[ReceiveMsgType, SendMsgType]):
     # "sort of wrong default"
     decoder: TypeAdapter[ReceiveMsgType] = attrs.field(factory=lambda: 
TypeAdapter(ToTask), repr=False)
 
-    lock: threading.Lock = attrs.field(factory=threading.Lock, repr=False)
+    lock: aiologic.Lock = attrs.field(factory=aiologic.Lock, repr=False)

Review Comment:
   We should probably add a comment here that this is just meant to be used 
with async



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