Skip to content

Commit

Permalink
Fix a couple typos caught by an internal linter (apache#25188)
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm authored Jan 26, 2023
1 parent 2c45ac4 commit f07241b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/yaml/yaml_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def create_external_transform(self, urn, args):
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
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/yaml/yaml_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f07241b

Please sign in to comment.