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
ElenaKhaustova
changed the title
[DataCatalog]: Move credentials resolver to the config component
Move credentials resolver to the config component
Oct 28, 2024
Having just hit this in my current project, having something that was a more fully featured version of this would be a really welcome quality of life improvement.
All in all it feels like the oc.env workflow but against our locals/credentials.yml which is a core part of the project template - the fundamental difference is that it takes the onus of integrating from Kedro's archaic credentials mechanism (from v0.0.1) away from the dataset implementation and developer.
Description
Currently, we pass credentials to the catalog separately from the rest configuration:
kedro/kedro/framework/context/context.py
Line 236 in a5d9bb4
Then we resolve credentials at the
CatalogConfigResolver
level:kedro/kedro/io/catalog_config_resolver.py
Line 33 in a5d9bb4
We suggest to move this resolution to the config component, then:
CatalogConfigResolver
, so it only resolves patterns and there's no confusion when using "resolve" term;config
moduleContext
This should be done as a preceding step to #3811
The text was updated successfully, but these errors were encountered: