Databricks SDK for JavaScript
    Preparing search index...
    interface Library {
        lib?:
            | { $case: "jar"; jar: string }
            | { $case: "egg"; egg: string }
            | { $case: "pypi"; pypi: PythonPyPiLibrary }
            | { $case: "maven"; maven: MavenLibrary }
            | { $case: "cran"; cran: RCranLibrary }
            | { $case: "whl"; whl: string }
            | { $case: "requirements"; requirements: string };
    }
    Index

    Properties

    Properties

    lib?:
        | { $case: "jar"; jar: string }
        | { $case: "egg"; egg: string }
        | { $case: "pypi"; pypi: PythonPyPiLibrary }
        | { $case: "maven"; maven: MavenLibrary }
        | { $case: "cran"; cran: RCranLibrary }
        | { $case: "whl"; whl: string }
        | { $case: "requirements"; requirements: string }

    Type Declaration

    • { $case: "jar"; jar: string }
      • $case: "jar"
      • jar: string

        URI of the JAR library to install. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: { "jar": "/Workspace/path/to/library.jar" }, { "jar" : "/Volumes/path/to/library.jar" } or { "jar": "s3://my-bucket/library.jar" }. If S3 is used, please make sure the cluster has read access on the library. You may need to launch the cluster with an IAM role to access the S3 URI.

    • { $case: "egg"; egg: string }
      • $case: "egg"
      • egg: string

        Deprecated. URI of the egg library to install. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above.

    • { $case: "pypi"; pypi: PythonPyPiLibrary }
      • $case: "pypi"
      • pypi: PythonPyPiLibrary

        Specification of a PyPi library to be installed. For example: { "package": "simplejson" }

    • { $case: "maven"; maven: MavenLibrary }
      • $case: "maven"
      • maven: MavenLibrary

        Specification of a maven library to be installed. For example: { "coordinates": "org.jsoup:jsoup:1.7.2" }

    • { $case: "cran"; cran: RCranLibrary }
      • $case: "cran"
      • cran: RCranLibrary

        Specification of a CRAN library to be installed as part of the library

    • { $case: "whl"; whl: string }
      • $case: "whl"
      • whl: string

        URI of the wheel library to install. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: { "whl": "/Workspace/path/to/library.whl" }, { "whl" : "/Volumes/path/to/library.whl" } or { "whl": "s3://my-bucket/library.whl" }. If S3 is used, please make sure the cluster has read access on the library. You may need to launch the cluster with an IAM role to access the S3 URI.

    • { $case: "requirements"; requirements: string }
      • $case: "requirements"
      • requirements: string

        URI of the requirements.txt file to install. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: { "requirements": "/Workspace/path/to/requirements.txt" } or { "requirements" : "/Volumes/path/to/requirements.txt" }