Skip to content

Commit 4193400

Browse files
authored
Update synapse-notebook-activity.md
1 parent 3df7e9b commit 4193400

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/synapse-analytics/synapse-notebook-activity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ Define your parameters in this cell. It can be something as simple as:
6464

6565
```python
6666
a = 1
67-
b = "Default Value"
68-
c = ""
67+
b = 3
68+
c = "Default Value"
6969
```
7070

7171
You can reference these parameters in other cells and when you run the notebook to use the default values you specify in the parameters cell.
7272

73-
When you run this notebook from a pipeline, Azure Data Factory looks for the parameters cell and uses the values you provided as defaults for the parameters passed in at execution time. The execution engine will add a new cell beneath the parameters cell with input parameters to overwrite the default values.
73+
When you run this notebook from a pipeline, Azure Data Factory looks for the parameters cell and uses the values you provided as defaults for the parameters passed in at execution time. If you [assign parameters values from a pipeline](#assign-parameters-values-from-a-pipeline), the execution engine will add a new cell beneath the parameters cell with input parameters to overwrite the default values.
7474

7575

7676
### Assign parameters values from a pipeline
@@ -79,7 +79,7 @@ Once you've created a notebook with parameters, you can execute it from a pipeli
7979

8080
[![screenshot-showing-assign-a-parameter](./media/synapse-notebook-activity/assign-parameter.png)](./media/synapse-notebook-activity/assign-parameter.png#lightbox)
8181

82-
>[TIP]
82+
>[!TIP]
8383
>Data Factory won't automatically populate the parameters. You need to add them manually. Be sure to use the exact same name in both your parameters cell in the notebook and the base parameter in the pipeline.
8484
8585
Once you've added your parameters to your activity, Data Factory will pass the values you specify in your activity to your notebook, and your notebook will run with those new parameter values, instead of the defaults you specified in the parameters cell.

0 commit comments

Comments
 (0)