-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make config glob paths configurable by the user #1363
Comments
Wouldn't this be possible by using a custom |
@datajoely As @MerelTheisenQB pointed out, this is already configurable through a custom |
So I actually disagree here - I think it's highly likely that a novice user would like to control this without the added complexity of the creating a custom class. The smallest version of this I can imagine involves inheriting from the config loader you were already using, and overriding What about adding the defaults as constructor arguments? |
I have a query, why do users want |
I think there's a misunderstanding here that this is do with a custom As a first step I think it's a very good idea to make these methods easier to override by a user writing a custom |
Was chatting with @datajoely on our slack , we have client folks who are building pipelines on kedro for the first time (many of them) . There was a guy who built a very small pipeline on first go and the only error he was getting was because he named the catalogs like If you think of it ,both names make right amount of sense and i could not find an argument on why the latter is right and the former is incorrect. Ideally we can make it configurable with only Also , agree with Joel , we are talking about client DEs who before 2 months ago were building drag and drop pipelines on informatica and people who used to maintain codebases on shared folders :) so not sure how much we can ask them to look into a custom WDYT ? |
Basis the above discussion , do we see a benefit in reopening and working on this issue ? Let me know thx! |
I'm going to reopen this because I think it was closed on the misunderstanding that this is already possible through a custom This is a request I've heard several times before (or at least the question of "what are the patterns kedro looks for in finding catalog/params"), and I think it makes a lot of sense to make this more transparent and configurable. I'm not sure exactly how far we should go into making these patterns exposed to the user (e.g. whether we should make them configurable in settings.py, whether This won't immediately meet @DebanjanBanerjeeQB's ask that we shouldn't need to make a custom class just for a small change to naming convention, since you would still need to make a custom |
Description
Fix #1210
Today catalog config is loaded via the following paths (this also applies the same to parameters):
kedro/kedro/framework/context/context.py
Line 356 in e78990c
These are hardcoded in the library and the user of a project cannot change without getting creative. I think there would be a lot of user value (1) making these configurable (2) being transparent with how this works.
Context
_catalog
suffixes (as opposed to prefixes) which aren't supported by the default patternPossible Implementation
(Optional) Suggest an idea for implementing the addition or change.
settings.py
The text was updated successfully, but these errors were encountered: