好吧,我想,這是例子
從databricks_cli.sdk。api_client進口ApiClient
從databricks_cli.libraries。api導入LibrariesApi
awsapi_client = ApiClient (
主機= " * * * * * * * * * * * * * * * * * * * *”,
令牌= " * * * * * * * * * * * * * * * * * * *”,
)
awslibrary_api = LibrariesApi (awsapi_client)
awslibrary_api。在stall_libraries('0510-140152-aaaaaaaa', {'pypi': {'package': 'mlflow==2.2.2'}} )
我不與安裝有問題,我找例子來使用python函數install_libraries,我想通過python sdk安裝的庫
嗨@Artem Sheiko, im尋找python sdk示例集群中安裝庫,請讓我知道如果您有任何
這是github後聯係我
https://github.com/databricks/databricks-cli/blob/main/databricks_cli/libraries/api.py