in tensorboard_plugin/tensorboard_plugin_fairness_indicators/plugin.py [0:0]
def get_plugin_apps(self):
"""Gets all routes offered by the plugin.
This method is called by TensorBoard when retrieving all the
routes offered by the plugin.
Returns:
A dictionary mapping URL path to route that handles it.
"""
return {
'/get_evaluation_result':
self._get_evaluation_result,
'/get_evaluation_result_from_remote_path':
self._get_evaluation_result_from_remote_path,
'/index.js':
self._serve_js,
'/vulcanized_tfma.js':
self._serve_vulcanized_js,
}