-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update forms to enable presets #157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test for the new preset route?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jverswijver Looks great! 🤝
Would you just rename the new property in the spec please? Think this matches the rest of the theme better.
preset_function: > | ||
def preset_function(): | ||
return {'preset 1': {'b_id': 14}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we update this to the following? I think it is a bit cleaner.
preset_function: > | |
def preset_function(): | |
return {'preset 1': {'b_id': 14}} | |
presets: > | |
def presets(): | |
return {'preset 1': {'b_id': 14}} |
No description provided.