fca513a81281c48b8c7427d2aeb5e3b45cd2c5c6,bokeh/server/tornado.py,BokehTornado,resources,#BokehTornado#Any#,310
Before Change
return protocol + "://" + request.host + websocket_path
def resources(self, request):
root_url = self.root_url_for_request(request)
if root_url not in self._resources:
self._resources[root_url] = Resources(mode="server",
root_url=root_url,
path_versioner=StaticHandler.append_version)
return self._resources[root_url]
def start(self):
""" Start the Bokeh Server application.
"""
After Change
def resources(self, absolute_url=None):
if absolute_url:
return Resources(mode="server", root_url=absolute_url + self._prefix, path_versioner=StaticHandler.append_version)
return Resources(mode="server", root_url=self._prefix, path_versioner=StaticHandler.append_version)
def start(self):
""" Start the Bokeh Server application.
"""
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 12
Instances
Project Name: bokeh/bokeh
Commit Name: fca513a81281c48b8c7427d2aeb5e3b45cd2c5c6
Time: 2017-03-15
Author: bryanv@continuum.io
File Name: bokeh/server/tornado.py
Class Name: BokehTornado
Method Name: resources
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: a084724c61faa05a57319cf1bc362a9d2b56ffc5
Time: 2018-05-02
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/network.py
Class Name: BaseNetwork
Method Name: GetNetwork
Project Name: pantsbuild/pants
Commit Name: b0e41e010172c043ef5257cd220336a8c5f1a137
Time: 2016-01-22
Author: abishev.timur@gmail.com
File Name: src/python/pants/base/build_file.py
Class Name: BuildFile
Method Name: from_cache
Project Name: bokeh/bokeh
Commit Name: fca513a81281c48b8c7427d2aeb5e3b45cd2c5c6
Time: 2017-03-15
Author: bryanv@continuum.io
File Name: bokeh/server/tornado.py
Class Name: BokehTornado
Method Name: resources
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 16decb9c0ed4e038ad19a0394d832d56503da9fc
Time: 2018-05-02
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/network.py
Class Name: BaseNetwork
Method Name: GetNetwork