Skip to content

Commit b658113

Browse files
committed
fix: review comments
1 parent bd22262 commit b658113

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

pyatlan/generator/templates/methods/attribute/data_quality_rule.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
target_table_qualified_name = condition_value.get(
2424
"target_table"
2525
)
26-
except (json.JSONDecodeError, KeyError, TypeError):
26+
except (json.JSONDecodeError, KeyError, TypeError, AttributeError):
2727
pass
2828

2929
qualified_names_to_search = []

pyatlan/model/assets/core/data_quality_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ def _fetch_assets_for_row_scope_validation(
11351135
target_table_qualified_name = condition_value.get(
11361136
"target_table"
11371137
)
1138-
except (json.JSONDecodeError, KeyError, TypeError):
1138+
except (json.JSONDecodeError, KeyError, TypeError, AttributeError):
11391139
pass
11401140

11411141
qualified_names_to_search = []

pyatlan/model/enums.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,11 +2748,6 @@ class DataQualityRuleAlertPriority(str, Enum):
27482748
LOW = "LOW"
27492749

27502750

2751-
class DataQualityRuleCustomSQLResultType(str, Enum):
2752-
ROW_COUNT = "ROW_COUNT"
2753-
NUMERIC_VALUE = "NUMERIC_VALUE"
2754-
2755-
27562751
class DataQualityRuleCustomSQLReturnType(str, Enum):
27572752
ROW_COUNT = "ROW_COUNT"
27582753
NUMERIC_VALUE = "NUMERIC_VALUE"

0 commit comments

Comments
 (0)