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 4b5ccb0 commit a729eedCopy full SHA for a729eed
ads/aqua/cli.py
@@ -94,3 +94,12 @@ def _validate_value(flag, value):
94
"If you intend to chain a function call to the result, please separate the "
95
"flag and the subsequent function call with separator `-`."
96
)
97
+
98
+ @staticmethod
99
+ def install_extension(path = "/ads/extension/"):
100
+ import subprocess
101
+ from pathlib import Path
102
103
+ wheel_file_path = Path(path) / f"adsjupyterlab_aqua_extension*.whl"
104
+ status = subprocess.run(f"pip install {wheel_file_path}",shell=True)
105
+ return status.check_returncode
0 commit comments