Open BatyLeo opened 3 months ago
Hi Leo! Sorry for the late reply.
You'll want to call DataToolkit.init(@__MODULE__)
inside the __init__
function of the package.
That should make the datasets availible, and you can check with data> stack list
.
To make package usage easier in the future, the init
function is likely going to be split off into the DataToolkitBase
package in the next version BTW :slightly_smiling_face:
Hello, I would be interested in using DataToolkit directly inside a package in order to make loading datasets easier.
Following the tutorial, it works when creating an environment from scratch that is not a package, however it doesn't work when adding DataToolkit to a package environment. When restarting the REPL after the
init
command, it doesn't load automatically the data collection whenusing DataToolkit
. I'm not sure if this is a bug or if I understood something wrong about this package usage?To reproduce the issue:
After restarting the REPL: