[DataCatalog2.0]: Extend KedroDataCatalog
with dict interface
#4175
Labels
Issue: Feature Request
New feature or improvement to existing feature
Milestone
Description
As a continuation of a work on
DataCatalog
redesign (#3995 (comment)) we suggest simplifying the interface forKedroDataCatalog
and make it similar to UserDictThe reasoning: this way we want to make the catalog functioning as a collection of datasets with an interface familiar to users.
Related tickets that will be addressed:
DataCatalog
#3931Context
Possible Implementation
Change the
KedroDataCatalog
API to support__iter__
,__getitem__
,__setitem__
,keys()
,items()
similar to the dict.Replace old API such as
save()
,load()
,list()
, etc.The first iteration can be done without breaking changes if keep old interface and reuse newly added methods.
The text was updated successfully, but these errors were encountered: