File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -864,17 +864,21 @@ def list(self, **kwargs) -> List["AquaDeployment"]:
864
864
if oci_aqua :
865
865
# skipping the AQUA model deployments that are created from model group
866
866
# TODO: remove this checker after AQUA deployment is integrated with model group
867
+
867
868
aqua_model_id = model_deployment .freeform_tags .get (
868
869
Tags .AQUA_MODEL_ID_TAG , UNKNOWN
869
870
)
870
- if "datasciencemodelgroup" in aqua_model_id or not aqua_model_id :
871
+ if (
872
+ "datasciencemodelgroup" in aqua_model_id
873
+ or model_deployment .model_deployment_configuration_details .deployment_type
874
+ == "UNKNOWN_ENUM_VALUE"
875
+ ):
871
876
continue
872
877
results .append (
873
878
AquaDeployment .from_oci_model_deployment (
874
879
model_deployment , self .region
875
880
)
876
881
)
877
-
878
882
# log telemetry if MD is in active or failed state
879
883
deployment_id = model_deployment .id
880
884
state = model_deployment .lifecycle_state .upper ()
You can’t perform that action at this time.
0 commit comments