We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95dcb4e commit 965f689Copy full SHA for 965f689
tests/model_registry/model_catalog/utils.py
@@ -1040,7 +1040,7 @@ def validate_model_artifacts_match_criteria_and(
1040
bool: True if at least one artifact satisfies all validation criteria, False otherwise
1041
"""
1042
for artifact in all_model_artifacts:
1043
- artifact_name = artifact.get("name")
+ artifact_name = artifact.get("name", "missing_artifact_name")
1044
custom_properties = artifact["customProperties"]
1045
validation_results = []
1046
conditions_passed = 0
0 commit comments