Skip to content

Commit

Permalink
[yaml] error_handling normalization follow-up
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <[email protected]>
  • Loading branch information
Polber committed Dec 4, 2024
1 parent d014249 commit 3201c57
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 3201c57

Please sign in to comment.