ipython/ipython

Autoreload - Unable to handle advanced imports

已关闭

#12,881 创建于 2021年4月2日

 (5 条评论) (5 个反应) (0 位负责人)Python (4,400 个派生)batch import
help wanted

仓库指标

星标
 (16,095 个星标)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 22 个 PR)

描述

Currently, autoreload can handle this:

%aimport tensorflow

but the following examples all cause an error:

%aimport tensorflow as tf

%aimport from tensorflow import keras

I guess all of them should be supported since this is very limiting atm.

贡献者指南