-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataCatalog2.0]: KedroDataCatalog
with dict interface
#4218
Merged
Merged
Changes from all commits
Commits
Show all changes
213 commits
Select commit
Hold shift + click to select a range
a8f4fb3
Added a skeleton for AbstractDataCatalog and KedroDataCatalog
ElenaKhaustova 7d56818
Removed from_config method
ElenaKhaustova 787e121
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova 0b80f23
Implemented _init_datasets method
ElenaKhaustova 5c727df
Implemented get dataset
ElenaKhaustova 05c9171
Started resolve_patterns implementation
ElenaKhaustova 5c804d6
Implemented resolve_patterns
ElenaKhaustova e9ba5c4
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova 530f7d6
Fixed credentials resolving
ElenaKhaustova 64be83c
Updated match pattern
ElenaKhaustova c29828a
Implemented add from dict method
ElenaKhaustova 957403a
Updated io __init__
ElenaKhaustova 14908ff
Added list method
ElenaKhaustova c5e925b
Implemented _validate_missing_keys
ElenaKhaustova b9a92b0
Added datasets access logic
ElenaKhaustova 2cb794f
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova 2f32593
Added __contains__ and comments on lazy loading
ElenaKhaustova d1ea64e
Renamed dataset_name to ds_name
ElenaKhaustova fb89fca
Updated some docstrings
ElenaKhaustova 4486939
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova c667645
Fixed _update_ds_configs
ElenaKhaustova be8e929
Fixed _init_datasets
ElenaKhaustova ec7ac39
Implemented add_runtime_patterns
ElenaKhaustova 8e23450
Fixed runtime patterns usage
ElenaKhaustova 529e61a
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova e4cb21c
Merge branch 'main' into refactor-pattern-logic
ElenaKhaustova 50bc816
Moved pattern logic out of data catalog, implemented KedroDataCatalog
ElenaKhaustova 6dfbcb0
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova 9346f08
KedroDataCatalog updates
ElenaKhaustova 9568e29
Added property to return config
ElenaKhaustova 86efdfe
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova 5e27660
Added list patterns method
ElenaKhaustova 72b11d0
Renamed and moved ConfigResolver
ElenaKhaustova f0a4090
Renamed ConfigResolver
ElenaKhaustova a4da52a
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova 7d6227f
Cleaned KedroDataCatalog
ElenaKhaustova 4092291
Cleaned up DataCatalogConfigResolver
ElenaKhaustova 63e47f9
Docs build fix attempt
ElenaKhaustova 85bf720
KedroDataCatalog draft
ElenaKhaustova 68f6527
Removed KedroDataCatalog
ElenaKhaustova 2ac4a2f
Updated from_config method
ElenaKhaustova cb5879d
Updated constructor and add methods
ElenaKhaustova 9038e96
Updated _get_dataset method
ElenaKhaustova cc89565
Updated __contains__
ElenaKhaustova 59b6764
Updated __eq__ and shallow_copy
ElenaKhaustova 4f5a3fb
Added __iter__ and __getitem__
ElenaKhaustova 12ed6f2
Removed unused imports
ElenaKhaustova a106cec
Added TODO
ElenaKhaustova 6df04f7
Updated runner.run()
ElenaKhaustova 8566e27
Updated session
ElenaKhaustova 2dcea33
Added confil_resolver property
ElenaKhaustova a46597f
Updated catalog list command
ElenaKhaustova 3787545
Updated catalog create command
ElenaKhaustova 68d612d
Updated catalog rank command
ElenaKhaustova af5bee9
Updated catalog resolve command
ElenaKhaustova acc4d6e
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova e67ff0f
Remove some methods
ElenaKhaustova 7b3afa2
Removed ds configs from catalog
ElenaKhaustova 658a759
Fixed lint
ElenaKhaustova 7be2a8e
Fixed typo
ElenaKhaustova 09f3f26
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova 9e43a9a
Added module docstring
ElenaKhaustova b28a9bf
Merge branch 'main' into 3995-data-catalog-2.0
ElenaKhaustova c9f3469
Merge branch '4110-move-pattern-resolution-logic' into 3995-data-cata…
ElenaKhaustova 49a3b27
Renaming methods
ElenaKhaustova 25b6501
Removed None from Pattern type
ElenaKhaustova 3a646de
Fixed docs failing to find class reference
ElenaKhaustova 5e5df4a
Fixed docs failing to find class reference
ElenaKhaustova aa59a35
Updated Patterns type
ElenaKhaustova c7efa3e
Fix tests (#4149)
ankatiyar 023ffc6
Returned constants to avoid breaking changes
ElenaKhaustova 6971779
Merge branch '4110-move-pattern-resolution-logic' into 3995-data-cata…
ElenaKhaustova d57a567
Udapted KedroDataCatalog for recent changes
ElenaKhaustova 585b44f
Minor fix
ElenaKhaustova 2769def
Merge branch '4110-move-pattern-resolution-logic' into 3995-data-cata…
ElenaKhaustova e447078
Updated test_sorting_order_with_other_dataset_through_extra_pattern
ElenaKhaustova beb0165
Merge branch 'main' into 4110-move-pattern-resolution-logic
ElenaKhaustova 975e968
Removed odd properties
ElenaKhaustova 11d782c
Updated tests
ElenaKhaustova e4abd23
Removed None from _fetch_credentials input
ElenaKhaustova 5f105de
Merge branch '4110-move-pattern-resolution-logic' into 3995-data-cata…
ElenaKhaustova f9cb9c6
Updated specs and context
ElenaKhaustova 31a9484
Updated runners
ElenaKhaustova ced1b7a
Updated default catalog validation
ElenaKhaustova 7f9b576
Updated default catalog validation
ElenaKhaustova a3828d9
Updated contains and added exists methods for KedroDataCatalog
ElenaKhaustova 16610c4
Fixed docs
ElenaKhaustova 321affe
Fixing docs and lint
ElenaKhaustova ff25405
Fixed docs
ElenaKhaustova d0000c0
Fixed docs
ElenaKhaustova 7f5ddec
Fixed unit tests
ElenaKhaustova e030bb6
Added __eq__
ElenaKhaustova 6433dd8
Renamed DataCatalogConfigResolver to CatalogConfigResolver
ElenaKhaustova 355576f
Renamed _init_configs to _resolve_config_credentials
ElenaKhaustova 39d9ff6
Moved functions to the class
ElenaKhaustova 659c9da
Refactored resolve_dataset_pattern
ElenaKhaustova 840b32a
Fixed refactored part
ElenaKhaustova 77f551c
Changed the order of arguments for DataCatalog constructor
ElenaKhaustova 6e079a1
Replaced __getitem__ with .get()
ElenaKhaustova 1f7e5f8
Updated catalog commands
ElenaKhaustova 80f0e3d
Moved warm up block outside of the try block
ElenaKhaustova 017cda3
Fixed linter
ElenaKhaustova cab6f06
Removed odd copying
ElenaKhaustova ac1ecc0
Merge branch '4110-move-pattern-resolution-logic' into 3995-data-cata…
ElenaKhaustova e955930
Renamed DataCatalogConfigResolver to CatalogConfigResolver
ElenaKhaustova a07f3d4
Renamed AbstractDataCatalog to BaseDataCatalog
ElenaKhaustova 4ecb826
Moved validate_dataset_config inside catalog
ElenaKhaustova 2b9be66
Renamed _init_dataset to _add_from_config
ElenaKhaustova fb3831b
Fix lint
ElenaKhaustova 8f604d1
Updated release notes
ElenaKhaustova 9a4db18
Returned DatasetError
ElenaKhaustova 0a6946a
Added _dataset_patterns and _default_pattern to _config_resolver to a…
ElenaKhaustova fee7bd6
Made resolve_dataset_pattern return just dict
ElenaKhaustova f5a7992
Fixed linter
ElenaKhaustova 1c981f3
Added Catalogprotocol draft
ElenaKhaustova 6128be7
Implemented CatalogProtocol
ElenaKhaustova 8c91d0e
Updated types
ElenaKhaustova 18d2ba0
Fixed linter
ElenaKhaustova d48c6d3
Added _ImplementsCatalogProtocolValidator
ElenaKhaustova 45ce6bc
Updated docstrings
ElenaKhaustova 6ca972f
Fixed tests
ElenaKhaustova fdce5ea
Fixed docs
ElenaKhaustova 3029963
Excluded Potocol from coverage
ElenaKhaustova 0150a21
Merge branch 'main' into 4138-catalog-protocol
ElenaKhaustova 0833a84
Fixed docs
ElenaKhaustova 95ccb3c
Merge branch 'main' into 3995-data-catalog-2.0
ElenaKhaustova 07908a8
Renamed catalog source to kedro_data_catalog
ElenaKhaustova 25a6fcf
Renamed data set to dataset in docstrings
ElenaKhaustova 07f8c12
Updated add_from_dict
ElenaKhaustova 3a1a0f2
Revised comments and TODOs
ElenaKhaustova cf663a0
Updated error message to point to specific catalog type
ElenaKhaustova caa7316
Fixed tests
ElenaKhaustova 9540a32
Merge branch '4138-catalog-protocol' into 3995-data-catalog-2.0
ElenaKhaustova 0ac154d
Merged with protocol
ElenaKhaustova 0ec1f23
Removed reference to DataCatalog in docstrings
ElenaKhaustova 96d4576
Merge branch '4138-catalog-protocol' into 3995-data-catalog-2.0
ElenaKhaustova 4ecd8fd
Fixed docs
ElenaKhaustova 11b3426
Reordered methods
ElenaKhaustova 741b682
Removed add_all from protocol
ElenaKhaustova 88ba38b
Merge branch '4138-catalog-protocol' into 3995-data-catalog-2.0
ElenaKhaustova 0020095
Changed the order of arguments
ElenaKhaustova 78feb51
Updated docstrings
ElenaKhaustova 6bf912c
Updated docstrings
ElenaKhaustova c7699ec
Merge branch '4138-catalog-protocol' into 3995-data-catalog-2.0
ElenaKhaustova bcd2d37
Added __repr__
ElenaKhaustova eb7e8f5
Made __getitem__ return deepcopy
ElenaKhaustova 7348c12
Fixed bug in get_dataset()
ElenaKhaustova 5aee9e9
Fixed __eq__
ElenaKhaustova c9c7c9a
Fixed docstrings
ElenaKhaustova c66df33
Merge branch 'main' into 4138-catalog-protocol
ElenaKhaustova 2f1dcbd
Merge branch '4138-catalog-protocol' into 3995-data-catalog-2.0
ElenaKhaustova 4b8d90c
Added __setitem__
ElenaKhaustova 8f870a8
Unit tests for `KedroDataCatalog` (#4171)
ElenaKhaustova 70dc177
Merge branch 'main' into 3995-data-catalog-2.0
ElenaKhaustova ae7a271
Updated RELEASE.md
ElenaKhaustova 135cb0e
Removed deep copies
ElenaKhaustova ca4867c
Removed some interface that will be changed in the next version
ElenaKhaustova 4745f71
Removed key completions
ElenaKhaustova 033a0b7
Fixinf typos
ElenaKhaustova e74ffda
Removed key completions test
ElenaKhaustova 00af3ec
Replaced data set with dataset
ElenaKhaustova 2de7ccb
Added docstring for get_dataset() method
ElenaKhaustova 8affed6
Renamed pytest fixture
ElenaKhaustova a52672e
Addressed review comments
ElenaKhaustova 84f249c
Updated _assert_requirements_ok starters test
ElenaKhaustova 2548119
Revert "Updated _assert_requirements_ok starters test"
ElenaKhaustova ac124e3
Updated error message
ElenaKhaustova f62ed03
Replaced typo
ElenaKhaustova b65609f
Replaced data set with dataset in docstrings
ElenaKhaustova 17199ad
Updated tests
ElenaKhaustova 44c576e
Merge branch 'main' into 3995-data-catalog-2.0
ElenaKhaustova 6d5f094
Made KedroDataCatalog subclass from CatalogProtocol
ElenaKhaustova e24b2a6
Updated release notes
ElenaKhaustova c8ef90f
Merge branch 'main' into 3995-data-catalog-2.0
ElenaKhaustova 26f3f99
Implemented iter, getitem, setitem
ElenaKhaustova 5bbedfa
Updated add_data and TODOs
ElenaKhaustova 5ca6b48
Added key completions
ElenaKhaustova 3914cca
Maded behavior dict like
ElenaKhaustova 0e03aa5
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova 643219d
Merged with main
ElenaKhaustova b4ae279
Removed add_data() method
ElenaKhaustova 5bdf16b
Added usage example and updated docstrings with experimental feature …
ElenaKhaustova 78900b7
Merge branch 'kedro-data-catalog-release-updates' into feature/4175-c…
ElenaKhaustova 8ea3667
Added len and get
ElenaKhaustova 8fd7043
Implemented unit tests
ElenaKhaustova a50fbc9
Update RELEASE.md
ElenaKhaustova 5b02d05
Update kedro/io/kedro_data_catalog.py
ElenaKhaustova d69b9eb
Merge branch 'main' into kedro-data-catalog-release-updates
ElenaKhaustova 3ddc01b
Merge branch 'kedro-data-catalog-release-updates' into feature/4175-c…
ElenaKhaustova 1223f26
Fixed lint
ElenaKhaustova f9912ec
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova 02e2c5e
Updated load_data and save_data to use new interface
ElenaKhaustova 517d770
Updated load_data and save_data to use new interface
ElenaKhaustova aa95229
Returned usage of get_dataset()
ElenaKhaustova 494b4b9
Fixed lint
ElenaKhaustova e31ba9c
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova 35e10f3
Updated __getitem__ to use old get_dataset() method
ElenaKhaustova f031211
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova 9d52ecf
Removed regex_search from values()
ElenaKhaustova cb93875
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova dac141d
Fixed type annotation for __iter__
ElenaKhaustova 6b3eb9e
Fixed linter
ElenaKhaustova 3edb4fb
Revert lint fix
ElenaKhaustova 78af7eb
Returned short names for save and load
ElenaKhaustova 435bea1
Removed regex_search from keys and items
ElenaKhaustova d5b7099
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova 08fa019
Updated release notes
ElenaKhaustova 6de5fbf
Maded regex_search non optional
ElenaKhaustova 23f3524
Changed default for regex_flags
ElenaKhaustova 87addaa
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova c93aabb
Returned list() method
ElenaKhaustova 6650a83
Fixed __iter__ return type
ElenaKhaustova 8df7d91
Merge branch 'main' into feature/4175-catalog-dict-interface
ElenaKhaustova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made it for iteration cases, like