-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Format data values for multi-choice fields (#48)
* Bugfix: Format data values for multi-choice fields This addresses https://phabricator.wikimedia.org/T331262 As I wasn't having any luck creating a custom schema that would correctly handle both strings and lists, I opted to accept a string and convert it into a list. Unfortunately, Flask did not do a good job of converting the resulting data to a valid JSON, so I had to do it manually. * Commit variable name fix and CI tweak * Change function name and update import This change is completely unrelated to this PR.
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters