Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Sep 20, 2023
1 parent 575d8f6 commit 420955e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdks/python/apache_beam/yaml/yaml_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ def normalize_fields(pcoll, fields, drop=(), append=False, language='generic'):
for name in fields:
if name in input_schema and name not in drop:
raise ValueError(
f'Redefinition of field "{name}". Cannot append a field that already exists in original input.'
f'Redefinition of field "{name}". '
'Cannot append a field that already exists in original input.'
)

if language == 'generic':
Expand Down

0 comments on commit 420955e

Please sign in to comment.