You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/01/26 14:41:12 UTC

[beam] 01/01: Fix a couple typos caught by an internal linter

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/typos
in repository https://gitbox.apache.org/repos/asf/beam.git

commit dcb936ad61085ee6567bd4e57890b8166e349e01
Author: Danny McCormick <da...@google.com>
AuthorDate: Thu Jan 26 09:40:52 2023 -0500

    Fix a couple typos caught by an internal linter
---
 sdks/python/apache_beam/yaml/yaml_provider.py  | 2 +-
 sdks/python/apache_beam/yaml/yaml_transform.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/apache_beam/yaml/yaml_provider.py b/sdks/python/apache_beam/yaml/yaml_provider.py
index a558de3507a..b3f085c48a2 100644
--- a/sdks/python/apache_beam/yaml/yaml_provider.py
+++ b/sdks/python/apache_beam/yaml/yaml_provider.py
@@ -183,7 +183,7 @@ class ExternalPythonProvider(ExternalProvider):
         self._service)
 
 
-# This is needed because type inference can't handle *args, **kwargs fowarding.
+# This is needed because type inference can't handle *args, **kwargs forwarding.
 # TODO(BEAM-24755): Add support for type inference of through kwargs calls.
 def fix_pycallable():
   from apache_beam.transforms.ptransform import label_from_callable
diff --git a/sdks/python/apache_beam/yaml/yaml_transform.py b/sdks/python/apache_beam/yaml/yaml_transform.py
index 1e8495e308a..beb8c6aa3f3 100644
--- a/sdks/python/apache_beam/yaml/yaml_transform.py
+++ b/sdks/python/apache_beam/yaml/yaml_transform.py
@@ -275,7 +275,7 @@ def expand_leaf_transform(spec, scope):
       outputs = inputs | scope.unique_name(spec, ptransform) >> ptransform
   except Exception as exn:
     raise ValueError(
-        f"Errror apply transform {identify_object(spec)}: {exn}") from exn
+        f"Error apply transform {identify_object(spec)}: {exn}") from exn
   if isinstance(outputs, dict):
     # TODO: Handle (or at least reject) nested case.
     return outputs