Files

Specification

{
  "name": "<String>"",
  "installedFileName": "<String>",
  "extension": "<String>",
  "description": "<String>",
  "mimeType": "<String>"
}

Structure Values

Field Name

Type

Description

Required

Default

name

String

Metadata reference name. The name to use when referring to the file in other metadata commands.

Required

installedFileName

String

The name of the file when it is installed on a cluster. Useful for some files (e.g. wheels) that are required to have a specific name for installation purposes.

Optional

Falls back to the name field if not provided by the user.

extension

String

The file extension

Required

description

String

Description of the file

Optional

None

mimeType

String

MIME type of the file

Optional

None

Example

{
  "name": "bootstrap-deps",
  "installedFileName": "pandas-2.1.0-py3-none-any.whl",
  "extension": "whl",
  "description": "Custom pandas wheel to be installed on cluster startup",
  "mimeType": "application/octet-stream"
}
Was this article helpful?
0 out of 0 found this helpful