Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@douglasjacobsen
Copy link
Collaborator

This merge introduces a new class to encapsulate all of the ramble known keywords, and their types.

Tests are added to make sure incorrectly defined keywords throw reasonable errors.

Additionally, past references to the *_key type keyword definitions are updated to use this class now.

@douglasjacobsen douglasjacobsen added the enhancement New feature or request label Mar 17, 2023
@douglasjacobsen douglasjacobsen requested a review from rfbgo March 17, 2023 20:58
Copy link
Collaborator

@rfbgo rfbgo left a comment

Choose a reason for hiding this comment

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

Really nice PR. Few in the weeds questions/suggestions but I really like it overall. Validator here we come!

@rfbgo
Copy link
Collaborator

rfbgo commented Mar 20, 2023

@douglasjacobsen can you fix up the conflict if you chose to implement some of my suggested changes too, please?

@douglasjacobsen douglasjacobsen force-pushed the reserve_keywords branch 3 times, most recently from 4235d07 to bcfd1a1 Compare March 21, 2023 01:11
@douglasjacobsen
Copy link
Collaborator Author

OK, Conflict is fixed now.

This commit adds a new class (keywords) to house known ramble variable
names. Logic is added using this to perform validation on different sets
of variable definitions to ensure they are properly defined.

Tests are also added to make sure the proper error messages are passed
when varible names are incorrectly used.
This commit changes previously defined *_key references within other
classes (expander and experiment_set) to use a unified keywords class to
get the string names instead.
rfbgo
rfbgo previously approved these changes Mar 21, 2023
This commit updates the expansion_str usage in the experiment_set module
to be consistent, to address reviewer comments.
Copy link
Collaborator

@rfbgo rfbgo left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the improvements

@rfbgo rfbgo merged commit ea77b83 into GoogleCloudPlatform:develop Mar 21, 2023
@douglasjacobsen douglasjacobsen deleted the reserve_keywords branch May 22, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants