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.
1 parent 4a6bb03 commit 0eae033Copy full SHA for 0eae033
ads/aqua/extension/common_handler.py
@@ -12,7 +12,6 @@
12
from ads.aqua.extension.base_handler import AquaAPIhandler
13
from ads.aqua.utils import known_realm
14
15
-
16
class ADSVersionHandler(AquaAPIhandler):
17
"""The handler to get the current version of the ADS."""
18
@@ -39,7 +38,7 @@ def get(self):
39
38
AquaResourceAccessError: raised when aqua is not accessible in the given session/region.
40
41
"""
42
- if ODSC_MODEL_COMPARTMENT_OCID:
+ if ODSC_MODEL_COMPARTMENT_OCID or fetch_service_compartment(): #TODO replace this with method that does not raise exception
43
return self.finish(dict(status="ok"))
44
elif known_realm():
45
return self.finish(dict(status="compatible"))
0 commit comments