-
Notifications
You must be signed in to change notification settings - Fork 14
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
DM-36303: Replace RFC-878/879 deprecations with removals #891
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
acefb48
Deprecate component dataset support in Registry query methods.
TallJimbo d9ed29a
Remove CollectionSearch.
TallJimbo 3cb054a
Remove Registry support for component dataset types.
TallJimbo 4a472c0
Turn more RFC-879 deprecations into errors.
TallJimbo c173d5e
Force components parameter to False in registry shim
timj e2736ba
Fix exception type in test code
timj 48a6c40
More fixes for removal of components
timj af41679
Fix API call now that component not returned
timj ead414a
Fix tests now that components not allowed
timj 0e8a205
Allow Butler.find_dataset to return a component DatasetRef
timj fa4caa7
Fix return type of base class
timj ebfe7a4
Drop components option in query-dataset-types command line
timj 0e4372e
Issue warning from butler query-dataset-types if --[no-]components used
timj b5d07c0
Deprecate ParentDatasetQueryResults.withComponents.
TallJimbo 4f677dd
Avoid warnings in DatasetQueryResults._iter_by_dataset_type.
TallJimbo 43d1db0
Drop component support and nomenclature from new query interface.
TallJimbo 4d10137
Add news fragment
timj 8ee1e29
Add default value to query classes to allow usage to be detected
timj 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* Removed dataset type component query support from all Registry methods. | ||
The main ``Registry.query*`` methods now warn if a ``components`` parameter is given and raise if it has a value other than `False`. | ||
The components parameters will be removed completely after v27. | ||
* Removed ``CollectionSearch`` class. | ||
A simple `tuple` is now used for this. |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
This change is sufficient to make all the
Butler.get()
tests with components work. I do understand that doing this means thatButler.find_dataset
is handling components butButler.query_datasets()
does not. If we don't like this the above code will have to move into_findDatasetRef
.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'm fine with handling components here like this.