https://kedro.org/ logo
Title
a

antony.milne

02/24/2022, 2:05 PM
@User in addition to what Joel said, if you do
kedro 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)