Skip to content

Commit e08753c

Browse files
committed
ODSC-40388: fix the format
1 parent 6ee00ec commit e08753c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/source/user_guide/apachespark/quickstart.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,16 @@ followed by the spark version, 3.2.1.
2525
with open(os.path.join(td, "script.py"), "w") as f:
2626
f.write(
2727
"""
28-
import pyspark
28+
import pyspark
2929
30-
def main():
31-
print("Hello World")
32-
print("Spark version is", pyspark.__version__)
30+
def main():
31+
print("Hello World")
32+
print("Spark version is", pyspark.__version__)
3333
34-
if __name__ == "__main__":
35-
main()
34+
if __name__ == "__main__":
35+
main()
36+
"""
37+
)
3638
3739
name = f"dataflow-app-{str(uuid4())}"
3840
dataflow_configs = (
@@ -53,8 +55,6 @@ followed by the spark version, 3.2.1.
5355
df = Job(name=name, infrastructure=dataflow_configs, runtime=runtime_config)
5456
df.create()
5557
df_run = df.run()
56-
"""
57-
)
5858
5959
From the Command Line
6060
---------------------

0 commit comments

Comments
 (0)