I am reading this advanced tutorial: <https://docs...
# questions
g
I am reading this advanced tutorial: https://docs.kedro.org/en/stable/data/advanced_data_catalog_usage.html It seems more like it is defining a new catalog at run time rather than loading an existing one. Is there a supported way to simply load from an existing catalog file or set of catalog files into a script (not a Jupyter notebook)?
n
Can you explain your use case?
If you are running programmatically, hook is the way. The docs is more for a standalone use case where you are not running a pipeline
g
Sure. I want develop scripts that I can run outside of the Kedro pipeline(s) but can load datasets from the kedro catalog. I want these to be ordinary scripts, not notebooks.
n
Then the docs fits the purpose
They are not specific to notebook
But i see what you mean
It is a two steps process, i think it is in the docs somewhere but i have poor network now
Essentially you create a config loader to load the config as the first step
Second step is DataCatalog.from_config(config)
removed)
❤️ 1
g
Great, thanks for the hints!
I'll see if I can put those two steps together.
n
g
kk thanks
n
If this is somehow not in any docs, please raise an issue.
I am back to work next week and I will look into it
g
Sounds good. I really appreciate your help in pointing me to this info.
@Nok Lam Chan Your second link is exactly what I wanted. Thank you again.
👍🏼 1
n
great!