addArtifacts
Adds artifact(s) to the client session. Currently only local files are supported.
addArtifact is an alias for addArtifacts.
Syntax
addArtifacts(*path, pyfile=False, archive=False, file=False)
Parameters
Parameter | Type | Description |
|---|---|---|
| str | Artifact URIs to add. |
| bool, optional | Whether to add them as Python dependencies such as |
| bool, optional | Whether to add them as archives such as |
| bool, optional | Whether to add a file to be downloaded on every node for this Spark job. Only local files are supported. |
Returns
None