Name |
Type |
Description |
Notes |
jar |
str |
If jar, URI of the JAR to be installed. DBFS and ADLS (`abfss`) URIs are supported. For example: `{ "jar": "dbfs:/mnt/databricks/library.jar" }` or `{ "jar": "abfss://my-bucket/library.jar" }`. If ADLS is used, make sure the cluster has read access on the library. |
[optional] |
egg |
str |
If egg, URI of the egg to be installed. DBFS and ADLS URIs are supported. For example: `{ "egg": "dbfs:/my/egg" }` or `{ "egg": "abfss://my-bucket/egg" }`. |
[optional] |
whl |
str |
If whl, URI of the wheel or zipped wheels to be installed. DBFS and ADLS URIs are supported. For example: `{ "whl": "dbfs:/my/whl" }` or `{ "whl": "abfss://my-bucket/whl" }`. If ADLS is used, make sure the cluster has read access on the library. Also the wheel file name needs to use the correct convention. If zipped wheels are to be installed, the file name suffix should be `.wheelhouse.zip`. |
[optional] |
pypi |
PythonPyPiLibrary |
|
[optional] |
maven |
MavenLibrary |
|
[optional] |
cran |
RCranLibrary |
|
[optional] |
from databricks_jobs.models.library import Library
# TODO update the JSON string below
json = "{}"
# create an instance of Library from a JSON string
library_instance = Library.from_json(json)
# print the JSON string representation of the object
print Library.to_json()
# convert the object into a dict
library_dict = library_instance.to_dict()
# create an instance of Library from a dict
library_form_dict = library.from_dict(library_dict)
[Back to Model list] [Back to API list] [Back to README]