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.
2 parents 2098b24 + a67c7cc commit fc092b0Copy full SHA for fc092b0
ads/aqua/modeldeployment/deployment.py
@@ -867,14 +867,17 @@ def list(self, **kwargs) -> List["AquaDeployment"]:
867
aqua_model_id = model_deployment.freeform_tags.get(
868
Tags.AQUA_MODEL_ID_TAG, UNKNOWN
869
)
870
- if "datasciencemodelgroup" in aqua_model_id:
+ if (
871
+ "datasciencemodelgroup" in aqua_model_id
872
+ or model_deployment.model_deployment_configuration_details.deployment_type
873
+ == "UNKNOWN_ENUM_VALUE"
874
+ ):
875
continue
876
results.append(
877
AquaDeployment.from_oci_model_deployment(
878
model_deployment, self.region
879
880
-
881
# log telemetry if MD is in active or failed state
882
deployment_id = model_deployment.id
883
state = model_deployment.lifecycle_state.upper()
0 commit comments