Hi! Quick question: if an entry in the `data cata...
# questions
t
Hi! Quick question: if an entry in the
data catalog
uses
versioned: True
, when I use
catalog.load(...)
in a notebook, does it always load the last version of that entry? How can I indicate the version to load? Thank you!
m
Hi Toni! Yes it does 🙂 You can specify which version to load like this:
Copy code
load_versions = {"cars": "2019-02-13T14.35.36.518Z"}
io = DataCatalog.from_config(catalog_config, credentials, load_versions=load_versions)
cars = io.load("cars")
see: https://kedro.readthedocs.io/en/stable/data/kedro_io.html#versioning-using-the-yaml-api
🥳 1