datajoely
02/24/2022, 12:27 PMavan-sh
02/24/2022, 1:01 PMantony.milne
02/24/2022, 1:51 PMantony.milne
02/24/2022, 2:05 PMkedro package
on your project (let's say its Python package name is xyz
) then you can actually do this:
from xyz import __main__
__main__.main()
which will be equivalent to python -m xyz
. This does seem a little ugly though. IIRC @User wrote the stuff on __main__
not so long ago so might know a better way of doing this (or if there isn't one then maybe we should expose the main
function so I can do from xyz import main
directly)williamc
02/24/2022, 4:38 PMdatajoely
02/24/2022, 4:41 PMafter_pipeline_run
hook might be bestwilliamc
02/24/2022, 4:42 PMamos
02/24/2022, 5:14 PMdatajoely
02/24/2022, 5:19 PMamos
02/24/2022, 5:21 PMdatajoely
02/24/2022, 5:22 PMamos
02/24/2022, 5:25 PMamos
02/24/2022, 6:08 PMdatajoely
02/24/2022, 6:09 PMdatajoely
02/24/2022, 6:09 PMkedro run --params param_key1:value1,param_key2:2.0
datajoely
02/24/2022, 6:10 PMamos
02/24/2022, 6:10 PMdatajoely
02/24/2022, 6:11 PMamos
02/24/2022, 6:11 PMdatajoely
02/24/2022, 6:11 PMamos
02/24/2022, 6:12 PMdatajoely
02/24/2022, 6:13 PMbeats-like-a-helix
02/25/2022, 3:01 PMbeats-like-a-helix
02/25/2022, 5:48 PMdatajoely
02/25/2022, 5:50 PMdatajoely
02/25/2022, 5:50 PMbeats-like-a-helix
02/25/2022, 6:31 PMmain()
function that looped over all the files in the directory. Many of my Astro projects are of a similar format to this, so been wondering what the best design choices are for a Kedro implementationdatajoely
02/25/2022, 6:35 PMbeats-like-a-helix
02/25/2022, 6:39 PMdatajoely
02/25/2022, 6:42 PM