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 a729eed commit fed0a4eCopy full SHA for fed0a4e
ads/aqua/cli.py
@@ -96,10 +96,9 @@ def _validate_value(flag, value):
96
)
97
98
@staticmethod
99
- def install_extension(path = "/ads/extension/"):
+ def install():
100
import subprocess
101
- from pathlib import Path
102
103
- wheel_file_path = Path(path) / f"adsjupyterlab_aqua_extension*.whl"
+ wheel_file_path = os.environ.get("AQUA_EXTENSTION_PATH", "/ads/extension/adsjupyterlab_aqua_extension*.whl")
104
status = subprocess.run(f"pip install {wheel_file_path}",shell=True)
105
return status.check_returncode
0 commit comments