nbdev
nbdev copied to clipboard
Per-notebook option to disable `__all__`
Just for my own learning, what is a situation where you might want to disable __all__
? I'm trying to imagine a situation where I would not want it
@hamelsmu the situation came up with wanting to export .all
and .imports
without having a __all__=[]
(which would happen if we loaded in a ton of imports to a notebook and hit nbdev_build_lib
without new functions).
I'd consider this a good example of if someone wanted to generate this via notebook instead. (IE a utility import file) (I hope I worded that correctly enough)
Thanks @muellerzr very helpful as usual
I'll add this to v2 roadmap
Hey, how do i make all.py
from notebook for individual modules just like fastai
?
Those are made manually right now
On Mon, Dec 14, 2020 at 12:41 AM Satyajit Ghana [email protected] wrote:
Hey, how do i make all.py for individual modules just like fastai ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastai/nbdev/issues/264#issuecomment-744182562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3YCVYDT2F74MNT54CUMFTSUWQOZANCNFSM4RXLJU4Q .