bolkedebruin commented on issue #52753: URL: https://github.com/apache/airflow/issues/52753#issuecomment-3108142062
Im not sure how I feel about structural string matching, but if you want (close to) consistency you can do '(hasattr(np, "bool") && isinstance(o, np.bool) || isinstance(o, np.bool_)' Or maybe even'isinstance(o, bool)' could work as np's bool is just an alias to the builtin 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
