Skip to content

Commit 34efdd4

Browse files
authored
fix typos (#34896)
* fix typos * fix ReadFromText typo
1 parent 0a805ae commit 34efdd4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdks/python/apache_beam/yaml/yaml_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def read_from_text(path: str):
5656

5757
"""Reads lines from a text files.
5858
59-
The resulting PCollection consists of rows with a single string filed named
59+
The resulting PCollection consists of rows with a single string field named
6060
"line."
6161
6262
Args:

website/www/site/content/en/documentation/sdks/yaml-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ tests:
180180
As before, each test only executes the portion of the pipeline between the
181181
mock inputs and expected outputs. Note that the named transform in a
182182
`mock_inputs` specification *is* executed, while the named transform of a
183-
`mock_oupputs` specification is not.
183+
`mock_outputs` specification is not.
184184
Similarly, the named transform of a `expected_inputs` specification is *not*
185185
executed, while the named transform of an `expected_outputs` necessarily is.
186186

@@ -225,10 +225,10 @@ are meaningful and as expected.)
225225

226226
## Branching pipelines
227227

228-
For complex, branching pipelines, any number of `mock_inputs` and `mock_outupts`
228+
For complex, branching pipelines, any number of `mock_inputs` and `mock_outputs`
229229
may be enumerated to provide the input data, and any number of `expected_inputs`
230230
and `expected_outputs` validations may be specified as well.
231-
In both the `mock_outupts` and `expected_outputs` block, multiple outputs can
231+
In both the `mock_outputs` and `expected_outputs` block, multiple outputs can
232232
be disambiguated with the `TransformName.output_name` notation just as when
233233
authoring a yaml pipeline.
234234

0 commit comments

Comments
 (0)