Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <[email protected]>
  • Loading branch information
Polber committed Dec 23, 2024
1 parent 71bf559 commit 5f0a0d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdks/python/apache_beam/yaml/yaml_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,8 @@ def preprocess_windowing(spec):
'input': spec['input'],
'output': modified_spec['__uuid__'],
'config': {
'error_handling': spec.get('config').get('error_handling', None)
} or {},
'error_handling': spec.get('config', {}).get('error_handling', {})
},
'__line__': spec['__line__'],
'__uuid__': spec['__uuid__'],
}
Expand Down Expand Up @@ -809,8 +809,8 @@ def preprocess_windowing(spec):
'transforms': [modified_spec] + windowing_transforms,
'output': windowed_outputs,
'config': {
'error_handling': spec.get('config').get('error_handling', None)
} or {},
'error_handling': spec.get('config', {}).get('error_handling', {})
},
'__line__': spec['__line__'],
'__uuid__': spec['__uuid__'],
}
Expand Down

0 comments on commit 5f0a0d3

Please sign in to comment.