Vici
02/23/2023, 12:48 PMkedro micropkg
, but failing so far 😕. So I've built that custom Dataset class MyDataset
. I'd love to share it as a micro-package with a colleague of mine. This should be possible, as the micro-packaging docs say :
A micro-package can be any part of Python code in a Kedro project [...].But running
kedro micropkg package src/my_project/extras/datasets/my_folder/my_dataset.py
only yields me the following error message:
kedro.framework.cli.utils.KedroCliError: The micro-package location you provided is not a valid Python module path
Run with --verbose to see the full exception
Error: The micro-package location you provided is not a valid Python module path
I tried running with --verbose
, but it's not a valid argument for any of kedro, micropkg or package. So that didn't help. Neither do I understand how my_dataset.py
is not a valid Python module 😢. Any of you have an idea how one would go about resolving this issue? Thanks in advance!Deepyaman Datta
02/23/2023, 2:49 PMkedro micropkg package <http://extra.datasets.my|extra.datasets.my>_folder
?Vici
02/23/2023, 2:59 PMdatajoely
02/23/2023, 3:00 PMVici
02/23/2023, 3:01 PMDeepyaman Datta
02/23/2023, 3:06 PMpull
. I looked at the Behave integration tests for Kedro since I forget this syntax sometimes. 😄Vici
02/23/2023, 3:45 PMJo Stichbury
02/23/2023, 4:12 PM