Skip to content

Conversation

bjhargrave
Copy link
Contributor

@bjhargrave bjhargrave commented Apr 9, 2024

Changes

Which issue is resolved by this Pull Request:
Partial #760

Description of your changes:

Since we now schema validate the yaml, we know it is correct before processing the "contents" dict. So we no longer need to force KeyErrors to check for missing keys or check for empty values.

Variable names are also improved to match the schema element they contain.

See #760

Since we now schema validate the yaml, we know it is correct before
processing the "contents" dict. So we no longer need to force KeyErrors
to check for missing keys or check for empty values.

Variable names are also improved to match the schema element they
contain.

See #760

Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
Copy link
Contributor

@anik120 anik120 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@anik120 anik120 merged commit d66680c into instructlab:main Apr 10, 2024
@anik120 anik120 deleted the post-validation-cleanup branch April 10, 2024 13:36
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.

2 participants