-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix support for custom visualizations (#1951)
* Change how arguments are checked and provided for Python service * Arguments no longer require a source if the type is specified to be custom * If no source is provided for a custom visualization, it will no longer be provided to the Python service * Added unit test to test that an empty source can be provided alongside custom visualizations * Added support for custom code to be used to generate visualizations within Python service * Added unit tests to cover support of custom visualizations * Fixed logic that handles source addition and validation in API * Formatted visualization_server_test.go * Moved self.maxDiff to setup function * Removed unused import * Simplified how arguments are passed from API to Python service Arguments are no longer manually converted to command line arguments to be passed to the Python service. Instead, they are converted to x-www-form-urlencoded arguments which is sent to the Python service and then converted to a dictionary by the Python service. * Made @staticmethods private functions
- Loading branch information
1 parent
03143cf
commit bd7eb77
Showing
7 changed files
with
169 additions
and
135 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
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
Oops, something went wrong.