Massinissa Saïdi
02/08/2023, 1:59 PMconf/base and conf/prod environment and my credentials.yml file in conf/local. If I run kedro run, will conf/local/credentials.yml overwrite conf/base/credentials.yml? And if I run kedro run --env prod which credentials file will be used? I have the impression that it is the local file that is always used? Thank youdatajoely
02/08/2023, 2:00 PMkedro run --env basedatajoely
02/08/2023, 2:00 PMMassinissa Saïdi
02/08/2023, 2:03 PMdatajoely
02/08/2023, 2:04 PMMassinissa Saïdi
02/08/2023, 2:05 PMlocal/credentials.yml and smthg in prod/credentials.yml I will get None valuedatajoely
02/08/2023, 2:11 PMdatajoely
02/08/2023, 2:11 PMMassinissa Saïdi
02/08/2023, 2:19 PMMassinissa Saïdi
02/08/2023, 2:22 PMlocal/credentials.yml i got this error:
No files found in ['/Users/.../conf/base', '/Users/.../conf/local'] matching the glob pattern(s): ('credentials*', 'credentials*/**', '**/credentials*')
warn(f"Credentials not found in your Kedro project config.\n{str(exc)}")Massinissa Saïdi
02/08/2023, 2:28 PMKedroSession as
KedreSession.create().load_context()._get_config_credentials()datajoely
02/08/2023, 2:41 PMdatajoely
02/08/2023, 2:41 PMdatajoely
02/08/2023, 2:42 PMAnkita Katiyar
02/08/2023, 2:43 PMkedro run --env prod , the config will be read from conf/prod and conf/local will not be read.Ankita Katiyar
02/08/2023, 2:49 PMbase directory and then the run time env config which is local by default but if you specify --env prod it will load config only in prodMassinissa Saïdi
02/08/2023, 3:26 PMKedreSession.create().load_context()._get_config_credentials()datajoely
02/08/2023, 3:38 PMMassinissa Saïdi
02/08/2023, 3:58 PMKedreSession.create().load_context()._get_config_credentials() returns only what in local/credentials.ymldatajoely
02/08/2023, 3:59 PMdatajoely
02/08/2023, 3:59 PMMassinissa Saïdi
02/08/2023, 4:07 PMdatajoely
02/08/2023, 5:12 PM