We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91bc2a6 commit 9be41afCopy full SHA for 9be41af
synapseclient/extensions/curator/schema_generation.py
@@ -4745,7 +4745,7 @@ def __post_init__(self) -> None:
4745
4746
self.pattern = column_pattern if column_pattern else rule_pattern
4747
4748
- if rule_pattern:
+ if rule_pattern and not column_pattern:
4749
msg = (
4750
f"A regex validation rule is set for property: {self.name}, but the pattern is not set in the data model. "
4751
f"The regex pattern will be set to {self.pattern}, but the regex rule is deprecated and validation "
0 commit comments