-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix support for custom visualizations #1951
Fix support for custom visualizations #1951
Conversation
* 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
/assign @IronPan |
…e custom visualizations
/hold |
/hold cancel |
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.
kubeflow#1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support.
/retest |
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.
/lgtm
Thanks, this looks great!
/test kubeflow-pipeline-sample-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: IronPan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test kubeflow-pipeline-sample-test |
* 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
kubeflow#1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support.
* Added developer_guide.md for Python based visualizations * Changed md file name to be README and added link to documentation page * Updated README.md to match syntax of #1878 * Added architecture and known limitations sections to documentation * Addressed PR comments * Address offline feedback from @SinaChavoshi * Removed limitation #1951 changes how arguments are passed from the API server to the Python service. This now allows for multi-line comment support. * Addressed PR comments
* Rename KF prefixed classes Signed-off-by: Mark Winter <mark.winter@navercorp.com> * Update model servers Signed-off-by: Mark Winter <mark.winter@navercorp.com> * Missed renaming Signed-off-by: Mark Winter <mark.winter@navercorp.com> * Missed renaming Signed-off-by: Mark Winter <mark.winter@navercorp.com> * Fix merge Signed-off-by: Mark Winter <mark.winter@navercorp.com> * Fix merge Signed-off-by: Mark Winter <mark.winter@navercorp.com>
This change is