LibenHailu opened a new pull request, #41134:
URL: https://github.com/apache/beam/pull/41134

   Fixes #41133
   
   Fixes small bugs in the Beam YAML SDK:
   - Check `isinstance(expr, dict)` before calling `expr.get('expression')`, 
check `expr.get('expression') in original_fields`, and avoid mutating `expr` in 
`yaml_mapping._as_callable`.
   - Fix `is_not_output_of_last_transform` in 
`yaml_transform.chain_as_composite` when the last transform has both `name` and 
`type`.
   - Add missing `f`-string prefixes to error messages in `yaml_mapping`, 
`yaml_combine`, and `json_utils`.
   - Add unit tests for these cases.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] [YAML] Fix mapping expres... LibenHailu (via GitHub) via github

Reply via email to