Skip to content

Fix #931:add 'actions' key support for YAML,keeping the existing 'children' key as a fallback#971

Open
SanjayS66 wants to merge 1 commit intoros2:rollingfrom
SanjayS66:fix931-yaml-actions-support
Open

Fix #931:add 'actions' key support for YAML,keeping the existing 'children' key as a fallback#971
SanjayS66 wants to merge 1 commit intoros2:rollingfrom
SanjayS66:fix931-yaml-actions-support

Conversation

@SanjayS66
Copy link
Copy Markdown

Description

This PR adds support for YAML to accept 'actions' key to match the Python API, while continuing to have 'children' as a fallback to not break the existing usage.The ValueError message in the parser has also been updated to reflect both 'actions' and 'children' as valid keys

Fixes #931

Is this user-facing behavior change?

yes. User can now use 'actions' to define nested entities.Existing files using 'children' will continue to work as that children is added as fallback.Error message also has been updated to reflect support for both actions and children keys.

Did you use Generative AI?

No

Additional Information

…'children' key as a fallback

Signed-off-by: SanjayS66 <sanjay702594@gmail.com>
@SanjayS66 SanjayS66 force-pushed the fix931-yaml-actions-support branch from 1ab5606 to 4853baa Compare April 28, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YAML: group should also accept a key actions: like the Python API

1 participant