1753e20f4ba805cb94d3646d472c53bc8d990a2a,py/server.py,PostHandler,post,#PostHandler#,252
Before Change
def post(self):
args = tornado.escape.json_decode(tornado.escape.to_basestring(self.request.body))
ptype = args ["data"][0 ]["type"]
p = pane(args)
eid = extract_eid(args)
After Change
if req.get("func") is not None:
try:
req, endpoint = self.func(req)
if (endpoint != "events"):
// Process the request using the proper handler
self.handlers[endpoint].wrap_func(self, req)
return
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: facebookresearch/visdom
Commit Name: 1753e20f4ba805cb94d3646d472c53bc8d990a2a
Time: 2017-10-05
Author: jju@fb.com
File Name: py/server.py
Class Name: PostHandler
Method Name: post
Project Name: sympy/sympy
Commit Name: f0556f7b6806d21083c55752046cd7ecfcf1723d
Time: 2021-02-10
Author: harshityadav2k@gmail.com
File Name: sympy/concrete/products.py
Class Name: Product
Method Name: _eval_derivative
Project Name: rodluger/starry
Commit Name: 8f87f244813c98b98bbd379f973bdba0ed7a9c72
Time: 2020-04-30
Author: rodluger@gmail.com
File Name: starry/_core/ops/integration.py
Class Name: rTReflectedOp
Method Name: perform