该警告表示在将来的 IPython 版本中,should_run_async 函数将不会自动调用 transform_cell 函数。为了避免这个警告,需要在调用 should_run_async 函数时,将结果传递给 transformed_cell 参数,并在发生异常时,在 preprocessing_exc_tuple 中处理。这个警告通常是由异步编程相关的代码引起的。

Danalibsite-packagesipykernelipkernelpy287 DeprecationWarning should_run_async will not call transform_cell automatically in the future Please pass the result to transformed_cell argument and any exce

原文地址: https://www.cveoy.top/t/topic/brvT 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录