Skip to content

Conversation

kklein
Copy link
Collaborator

@kklein kklein commented Nov 8, 2022

No description provided.

@kklein kklein linked an issue Nov 8, 2022 that may be closed by this pull request
@kklein kklein requested a review from ivergara November 8, 2022 10:59
class ColumnType(Constraint):
def __init__(self, ref: DataReference, column_type: str):
super().__init__(ref, ref_value=column_type.lower())
def __init__(
Copy link
Collaborator

Choose a reason for hiding this comment

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

In principle, this change is a breaking one. However, since in general direct use of a Constraint is extremely rare and almost always mediated via a method in a Requirement I suspect it shouldn't be much of an issue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right! I'd hope so, too. :)

@kklein kklein merged commit 4b794a8 into main Nov 8, 2022
@kklein kklein deleted the column_type_between branch November 8, 2022 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a BetweenRequirement method for the ColumnType constraint
2 participants