Skip to content
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

Choice descriptions #78

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Choice descriptions #78

merged 3 commits into from
Apr 24, 2024

Conversation

tombch
Copy link
Collaborator

@tombch tombch commented Apr 24, 2024

  • choices endpoint now returns a mapping from choice options to information about the choice.
  • The CLI output now displays a table detailing choices, descriptions and active status.
  • The underlying JSON format is compatible with previous versions of CLI output, so this is being considered an additional feature.

tombch and others added 3 commits April 24, 2024 10:52
Merge master updates into development
* Changed choices return type to be nested dictionary mapping rather than list

* Updated CLI to output more detailed choices format

* Updated CHOICES_DATA in tests to reflect new format
@tombch tombch merged commit f839c01 into master Apr 24, 2024
4 checks passed
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.

1 participant