https://kedro.org/ logo
#beginners-need-help
Title
# beginners-need-help
a

adrian

07/06/2022, 8:57 PM
Thanks. I was hoping to do it outside of a kedro pipeline
n

noklam

07/06/2022, 9:02 PM
Fair enough, what's the use case for this?
Copy code
session = KedroSession.create(
        package_name, default_project_path, env=env, extra_params=extra_params
    )

context = session.load_context()
catalog = context.catalog
a

adrian

07/06/2022, 9:04 PM
I have an ad-hoc job I wish to launch, and I wanted to leverage the clean catalog interface
Thanks a lot for your code snippet!
n

noklam

07/06/2022, 9:07 PM
If you end up needing multiple scripts, a pipeline is probably more suitable
a

adrian

07/06/2022, 9:08 PM
Thank you. Yes, I will keep that in mind
3 Views