You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kedro enable to declare configuration either in .kedro.yml or in pyproject.toml (in the [tool.kedro] section). We claim to support both, but the CLI commands are not accessible if the project contains only a pyproject.toml file.
Steps to Reproduce
Call kedro mlflow init inside a project with no .kedro.yml file but only a pyproject.toml.
Expected Result
The cli commands should be available (init)
Actual Result
Only the new command is available. This is not considered as a kedro project.
-- Separate them if you have more than one.
Your Environment
kedro and kedro-mlflow version used (pip show kedro and pip show kedro-mlflow): kedro==16.6, kedro-mlflow==0.4.1
Python version used (python -V): 3.7.9
Operating system and version: Windows 7
Does the bug also happen with the last version on develop?
Yes
Solution
The error comes from the is_kedro_project function which does not consider that a folder is the root of a kdro project if it does not contain a .kedro.yml.
The text was updated successfully, but these errors were encountered:
This will wait the migration to kedro>=0.17.0 (cf. #144) in milestone 0.6.0 because kedro has bradnd new utilities to handle this part. This will remove boilerplate code from the plugin and ensure consistency with future kedro changes.
Description
Kedro enable to declare configuration either in
.kedro.yml
or inpyproject.toml
(in the[tool.kedro]
section). We claim to support both, but the CLI commands are not accessible if the project contains only apyproject.toml file
.Steps to Reproduce
Call
kedro mlflow init
inside a project with no.kedro.yml
file but only apyproject.toml
.Expected Result
The cli commands should be available (
init
)Actual Result
Only the
new
command is available. This is not considered as a kedro project.Your Environment
kedro
andkedro-mlflow
version used (pip show kedro
andpip show kedro-mlflow
): kedro==16.6, kedro-mlflow==0.4.1python -V
): 3.7.9Does the bug also happen with the last version on develop?
Yes
Solution
The error comes from the
is_kedro_project
function which does not consider that a folder is the root of a kdro project if it does not contain a.kedro.yml
.The text was updated successfully, but these errors were encountered: