Skip to content

Commit 31c77fb

Browse files
committed
Added default compartment id for evaluation list.
1 parent 58cb61f commit 31c77fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ads/aqua/evaluation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,7 @@ def list(
916916
List[AquaEvaluationSummary]:
917917
The list of the `ads.aqua.evalution.AquaEvaluationSummary`.
918918
"""
919+
compartment_id = compartment_id or COMPARTMENT_OCID
919920
logger.info(f"Fetching evaluations from compartment {compartment_id}.")
920921
models = utils.query_resources(
921922
compartment_id=compartment_id,

0 commit comments

Comments
 (0)