Skip to content

feat(bigquery): add __eq__ method for class PartitionRange and RangePartitioning#162

Merged
plamut merged 4 commits intogoogleapis:masterfrom
MaxxleLLC:bigquery_issue_159
Jul 13, 2020
Merged

feat(bigquery): add __eq__ method for class PartitionRange and RangePartitioning#162
plamut merged 4 commits intogoogleapis:masterfrom
MaxxleLLC:bigquery_issue_159

Conversation

@HemangChothani
Copy link
Contributor

Fixes #159

@HemangChothani HemangChothani requested a review from plamut July 10, 2020 12:36
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 10, 2020
Copy link
Contributor

@plamut plamut left a comment

Choose a reason for hiding this comment

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

Mutable objects should not advertise themselves as hashable, otherwise looks good.

Copy link
Contributor

@plamut plamut left a comment

Choose a reason for hiding this comment

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

Looks good, I would just change the hashability assertions to a more explicit form rather than testing the "implementation detail".

Copy link
Contributor

@plamut plamut left a comment

Choose a reason for hiding this comment

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

LGTM

@plamut plamut merged commit 0d2a88d into googleapis:master Jul 13, 2020
@francois-baptiste
Copy link
Contributor

Great! Thank you @HemangChothani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comparaison between RangePartitioning objects seems to be incorrect.

4 participants