Define Custom Callback Function Bokeh TapTool

I want to call a function with a parameter. As I show below, is it possible?

hover = HoverTool(tooltips="@SensorName")

mapPlot.add_tools(hover)

taptool = mapPlot.select(type=TapTool)

taptool.callback = OpenURL(url=’@urls’)–> myFunction(@SensorName)

myFunction(sample):

 print (sample)

Note: My main purpose is that after user click any marker, creating new plot related to selected marker.