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 c389b3e commit 581797bCopy full SHA for 581797b
synapseclient/extensions/curator/schema_generation.py
@@ -4855,7 +4855,7 @@ def __post_init__(self) -> None:
4855
4856
self.pattern = column_pattern if column_pattern else rule_pattern
4857
4858
- if rule_pattern:
+ if rule_pattern and not column_pattern:
4859
msg = (
4860
f"A regex validation rule is set for property: {self.name}, but the pattern is not set in the data model. "
4861
f"The regex pattern will be set to {self.pattern}, but the regex rule is deprecated and validation "
0 commit comments