Skip to content

Commit 77d9c4e

Browse files
Merge branch 'feature/aqua_version_visibility' of https://github.com/oracle/accelerated-data-science into feature/aqua_version_visibility
2 parents 5d7605b + bde6363 commit 77d9c4e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ads/aqua/modeldeployment/deployment.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,13 @@ def list(self, **kwargs) -> List["AquaDeployment"]:
847847
)
848848

849849
if oci_aqua:
850+
# skipping the AQUA model deployments that are created from model group
851+
# TODO: remove this checker after AQUA deployment is integrated with model group
852+
aqua_model_id = model_deployment.freeform_tags.get(
853+
Tags.AQUA_MODEL_ID_TAG, UNKNOWN
854+
)
855+
if "datasciencemodelgroup" in aqua_model_id:
856+
continue
850857
results.append(
851858
AquaDeployment.from_oci_model_deployment(
852859
model_deployment, self.region

0 commit comments

Comments
 (0)