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 catalog resolve provides an optional parameter to set environment. However, it assumes that the provided environment will have a "credentials" pattern. But, by default the "credentials" pattern is only found in the "local" environment.
Context
In current state kedro catalog resolve cli command cannot handle environments that aren't local OR do not have a dummy credentials in them. The expectation is that if provided an environment that the resolved data catalog entries should be provided for that environment.
Steps to Reproduce
create default example kedro project
kedro catalog resolve -e base
Expected Result
Command should run successfully and return resolved data catalog.
Actual Result
MissingConfigException: No files of YAML or JSON format found in C:\Users\username\Projects\error_example\conf\base or C:\Users\username\Projects\error_example\conf\base matching the glob
pattern(s): ['credentials*', 'credentials*/**', '**/credentials*']
Comments
This appears to be from unexpected behavior from the command context.config_loader.get("credentials", None) located at line 245 in kedro/framework/cli/catalog.py (see below).
I assume the expected behavior here would be to return None. This is likely also expected behavior from the try-except at line 36 of kedro/config/abstract_config.py (see below).
It appears though that the exception raised is a MissingConfigException and therefore isn't catched. kedro/config/omegaconf_config.py:251 (see below).
Your Environment
Kedro Version: 0.19.8
Python Version: 3.10.4
Windows: 10.0.17763.0
The text was updated successfully, but these errors were encountered:
Description
kedro catalog resolve
provides an optional parameter to set environment. However, it assumes that the provided environment will have a "credentials" pattern. But, by default the "credentials" pattern is only found in the "local" environment.Context
In current state
kedro catalog resolve
cli command cannot handle environments that aren't local OR do not have a dummy credentials in them. The expectation is that if provided an environment that the resolved data catalog entries should be provided for that environment.Steps to Reproduce
kedro catalog resolve -e base
Expected Result
Command should run successfully and return resolved data catalog.
Actual Result
Comments
This appears to be from unexpected behavior from the command
context.config_loader.get("credentials", None)
located at line 245 in kedro/framework/cli/catalog.py (see below).I assume the expected behavior here would be to return
None
. This is likely also expected behavior from the try-except at line 36 of kedro/config/abstract_config.py (see below).It appears though that the exception raised is a MissingConfigException and therefore isn't catched. kedro/config/omegaconf_config.py:251 (see below).
Your Environment
The text was updated successfully, but these errors were encountered: