1c3ec161cdcef0a2b5c17712b79f56dd8e59acaf,src/main.py,Application,__init__,#Application#,21
Before Change
debug=True,
)
super(Application, self).__init__(handlers, **settings)
self.db = torndb.Connection(
host="localhost",
database="ddz",
user="root",
password="123123")
self.executor = ThreadPoolExecutor()
def main():
After Change
)
tornado.options.parse_config_file("server.conf")
super(Application, self).__init__(handlers, **settings)
self.db = torndb.Connection(
host=options.host,
database=options.database,
user=options.user,
password=options.password)
self.executor = ThreadPoolExecutor()
def main():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: mailgyc/doudizhu
Commit Name: 1c3ec161cdcef0a2b5c17712b79f56dd8e59acaf
Time: 2017-11-01
Author: yrong1997@gmail.com
File Name: src/main.py
Class Name: Application
Method Name: __init__
Project Name: thenetcircle/dino
Commit Name: cf22c0ba0b5dd5c34e20c22b8230e18e5488fcac
Time: 2016-10-13
Author: oscar.eriks@gmail.com
File Name: dino/api.py
Class Name:
Method Name: consume
Project Name: BindsNET/bindsnet
Commit Name: aa3b81cac2e9526d1382c5efc23f03fca3ae517c
Time: 2019-04-30
Author: djsaunde@umass.edu
File Name: bindsnet/models/__init__.py
Class Name: DiehlAndCook2015
Method Name: __init__
Project Name: BindsNET/bindsnet
Commit Name: d0aac55c4e34c0dc8de72dbadfa12ae38dc23b2c
Time: 2019-04-30
Author: hananel@hazan.org.il
File Name: bindsnet/models/__init__.py
Class Name: DiehlAndCook2015
Method Name: __init__