558cf909ff79341e699cf872082231f83f4cdc50,donkey/remotes.py,CameraMJPEGHandler,get,#CameraMJPEGHandler#Any#Any#,306
Before Change
self.served_image_timestamp = time.time()
yield tornado.gen.Task(self.flush)
else:
yield tornado.gen.Task(ioloop.add_timeout, ioloop.time() + interval)
After Change
class SessionImageView(tornado.web.RequestHandler):
def get(self, session_id, img_name):
print("SessionImageHandler")
sessions_path = self.application.sessions_path
path = os.path.join(sessions_path, session_id, img_name)
f = Image.open(path)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: autorope/donkeycar
Commit Name: 558cf909ff79341e699cf872082231f83f4cdc50
Time: 2017-02-08
Author: wroscoe@gmail.com
File Name: donkey/remotes.py
Class Name: CameraMJPEGHandler
Method Name: get
Project Name: catalyst-cooperative/pudl
Commit Name: 60871aadd63685368a4c8f054b05e5edce58078a
Time: 2018-11-24
Author: zane.selvans@catalyst.coop
File Name: pudl/extract/epacems.py
Class Name:
Method Name: extract
Project Name: tensorflow/datasets
Commit Name: 3be1154314111df8cd327a321fe3d68e7b661c68
Time: 2020-05-29
Author: charlespatel07@gmail.com
File Name: tensorflow_datasets/text/pg19.py
Class Name: Pg19
Method Name: _generate_examples