Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix composite implicit input - reference pipeline input directly
  • Loading branch information
liferoad committed Mar 16, 2026
commit 3abf34b0fec59d25eef7a8ab3d4dfd63695e34e9
7 changes: 3 additions & 4 deletions sdks/python/apache_beam/yaml/yaml_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,10 +809,9 @@ def expand_composite_transform(spec, scope):
if is_explicitly_empty(composite_input):
transform['input'] = composite_input
elif is_empty(composite_input):
# No explicit input - will use the pipeline input.
# Remove from spec so Scope doesn't try to use it.
if 'input' in spec:
del spec['input']
# No explicit input - the composite input IS the pipeline input.
# Reference the 'input' key from the Scope's inputs.
transform['input'] = 'input'
else:
transform['input'] = {key: key for key in composite_input.keys()}
else:
Expand Down
Loading