Skip to content

Commit

Permalink
Merge pull request #33060 [yaml] error_handling normalization follow-up
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb authored Dec 4, 2024
2 parents ed163f6 + 3201c57 commit d6cad34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions sdks/python/apache_beam/yaml/generate_yaml_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ def normalize_error_handling(f):
PythonCallableWithSource.load_from_expression(
param.type_name),
param.description) for param in doc.params
]))),
description=f.description)
])),
nullable=True),
description=f.description or doc.short_description)
return f

def lines():
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/yaml/yaml_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


class ErrorHandlingConfig(NamedTuple):
"""Class to define Error Handling parameters.
"""This option specifies whether and where to output error rows.
Args:
output (str): Name to use for the output error collection
Expand Down

0 comments on commit d6cad34

Please sign in to comment.