Skip to content

Commit 6ee00ec

Browse files
committed
ODSC-40388: fix the dataflow doc
1 parent ffadd6c commit 6ee00ec

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source/user_guide/apachespark/quickstart.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Quick Start
44

55
Data Flow is a hosted Apache Spark server. It is quick to start, and can scale to handle large datasets in parallel. ADS provides a convenient API for creating and maintaining workloads on Data Flow.
66

7-
Submit a Dummy Python Script to DataFlow
8-
========================================
7+
Submit a Toy Python Script to DataFlow
8+
======================================
99

1010
From a Python Environment
1111
-------------------------
1212

1313
Submit a python script to DataFlow entirely from your python environment.
14-
The following snippet uses a dummy python script that prints "Hello World"
14+
The following snippet uses a toy python script that prints "Hello World"
1515
followed by the spark version, 3.2.1.
1616

1717
.. code-block:: python
@@ -33,8 +33,7 @@ followed by the spark version, 3.2.1.
3333
3434
if __name__ == "__main__":
3535
main()
36-
"""
37-
)
36+
3837
name = f"dataflow-app-{str(uuid4())}"
3938
dataflow_configs = (
4039
DataFlow()
@@ -54,6 +53,8 @@ followed by the spark version, 3.2.1.
5453
df = Job(name=name, infrastructure=dataflow_configs, runtime=runtime_config)
5554
df.create()
5655
df_run = df.run()
56+
"""
57+
)
5758
5859
From the Command Line
5960
---------------------

0 commit comments

Comments
 (0)