Skip to content

Commit 3a36c6c

Browse files
Merge pull request #263437 from ynpandey/patch-41
Update reference-yaml-component-spark.md
2 parents 8dcb3a6 + caadffb commit 3a36c6c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/machine-learning/reference-yaml-component-spark.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,15 @@ ms.reviewer: franksolomon
3333
| `description` | string | Description of the component. | | |
3434
| `tags` | object | Dictionary of tags for the component. | | |
3535
| `code` | string | **Required.** The location of the folder that contains source code and scripts for the component. | | |
36-
| `entry` | object | **Required.** The entry point for the component. It could define a `file` or a `class_name`. | | |
36+
| `entry` | object | **Required.** The entry point for the component. It could define a `file`. | | |
3737
| `entry.file` | string | The location of the folder that contains source code and scripts for the component. | | |
38-
| `entry.class_name` | string | The name of the class that serves as an entry point for the component. | | |
3938
| `py_files` | object | A list of `.zip`, `.egg`, or `.py` files, to be placed in the `PYTHONPATH`, for successful execution of the job with this component. | | |
4039
| `jars` | object | A list of `.jar` files to include on the Spark driver, and the executor `CLASSPATH`, for successful execution of the job with this component. | | |
4140
| `files` | object | A list of files that should be copied to the working directory of each executor, for successful execution of the job with this component. | | |
4241
| `archives` | object | A list of archives that should be extracted into the working directory of each executor, for successful execution of the job with this component. | | |
4342
| `conf` | object | The Spark driver and executor properties. See [Attributes of the `conf` key](#attributes-of-the-conf-key) | | |
4443
| `environment` | string or object | The environment to use for the component. This value can be either a reference to an existing versioned environment in the workspace or an inline environment specification. <br><br> To reference an existing environment, use the `azureml:<environment_name>:<environment_version>` syntax or `azureml:<environment_name>@latest` (to reference the latest version of an environment). <br><br> To define an environment inline, follow the [Environment schema](./reference-yaml-environment.md#yaml-syntax). Exclude the `name` and `version` properties, because inline environments don't support them. | | |
45-
| `args` | string | The command line arguments that should be passed to the component entry point Python script or class. These arguments may contain the paths of input data and the location to write the output, for example `"--input_data ${{inputs.<input_name>}} --output_path ${{outputs.<output_name>}}"` | | |
44+
| `args` | string | The command line arguments that should be passed to the component entry point Python script. These arguments may contain the paths of input data and the location to write the output, for example `"--input_data ${{inputs.<input_name>}} --output_path ${{outputs.<output_name>}}"` | | |
4645
| `inputs` | object | Dictionary of component inputs. The key is a name for the input within the context of the component and the value is the input value. <br><br> Inputs can be referenced in the `args` using the `${{ inputs.<input_name> }}` expression. | | |
4746
| `inputs.<input_name>` | number, integer, boolean, string or object | One of a literal value (of type number, integer, boolean, or string) or an object containing a [component input data specification](#component-inputs). | | |
4847
| `outputs` | object | Dictionary of output configurations of the component. The key is a name for the output within the context of the component and the value is the output configuration. <br><br> Outputs can be referenced in the `args` using the `${{ outputs.<output_name> }}` expression. | |

0 commit comments

Comments
 (0)