Skip to content
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-39828: Use 'Catalog.__getitem__' instead of 'get' in selectors. #343

Merged
merged 2 commits into from Jul 3, 2023

Conversation

TallJimbo
Copy link
Member

'get' actually invokes the ColumnView method via getattr forwarding, and that's less capable than Catalog.getitem as well as being a pointless forward to ColumnView.getitem that probably never needed to exist.

'get' actually invokes the ColumnView method via __getattr__
forwarding, and that's less capable than Catalog.__getitem__ as well as
being a pointless forward to ColumnView.__getitem__ that probably never
needed to exist.
Copy link
Member

@arunkannawadi arunkannawadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! All but the objectSizeStarSelector.py have the old, outdated preamble. Could you also update it in this PR?

@TallJimbo TallJimbo merged commit b773a10 into main Jul 3, 2023
1 check passed
@TallJimbo TallJimbo deleted the tickets/DM-39828 branch July 3, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants