potiuk commented on issue #52753:
URL: https://github.com/apache/airflow/issues/52753#issuecomment-3107668476

   The problem is @bolkedebruin  that witnout import the "isinstance" will 
fail. We need to have imported types here to check what instance it is - and 
the problem is that numpy 1 has `bool_` and and numpy 2 has `bool` (or smth) 
and there is no "common type we can check the instance for - so the easiest way 
to solve is indeed to check which numpy version we have and import and check 
the right `bool`


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to