Skip to content

Commit f5f2168

Browse files
authored
Added default compartment id for evaluation list. (#783)
2 parents 746534e + 31c77fb commit f5f2168

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
@@ -929,6 +929,7 @@ def list(
929929
List[AquaEvaluationSummary]:
930930
The list of the `ads.aqua.evalution.AquaEvaluationSummary`.
931931
"""
932+
compartment_id = compartment_id or COMPARTMENT_OCID
932933
logger.info(f"Fetching evaluations from compartment {compartment_id}.")
933934
models = utils.query_resources(
934935
compartment_id=compartment_id,

0 commit comments

Comments
 (0)