d0836dd9d191d5a0f0b944e8a71cedaeb2c05724,modules/s3/s3task.py,S3Task,run_async,#S3Task#Any#Any#Any#Any#,240
Before Change
current.log.error(error)
raise HTTP(501, error)
args = ",".join(_args)
_vars = ",".join(["%s=%s" % (str(var),
str(vars[var])) for var in vars])
if args:
statement = "tasks["%s"](%s,%s)" % (task, args, _vars)
else:
statement = "tasks["%s"](%s)" % (task, _vars)
After Change
raise HTTP(501, error)
args = ",".join(_args)
_vars = []
for var in vars:
value = vars[var]
if isinstance(value, INTEGER_TYPES + (float,)):
_vars.append("%s=%s" % (var, value))
else:
try:
value = json.dumps(value)
except:
error = "Unhandled var type: %s" % var
current.log.error(error)
raise HTTP(501, error)
else:
_vars.append("%s=%s" % (var, value))
vars = ",".join(_vars)
if args:
statement = "tasks["%s"](%s,%s)" % (task, args, vars)
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: sahana/eden
Commit Name: d0836dd9d191d5a0f0b944e8a71cedaeb2c05724
Time: 2020-07-15
Author: fran@aidiq.com
File Name: modules/s3/s3task.py
Class Name: S3Task
Method Name: run_async
Project Name: senarvi/theanolm
Commit Name: 91184b6bdcdbce3a37cc91a54801b98356910849
Time: 2015-11-22
Author: seppo.git@marjaniemi.com
File Name: theanolm/commands/score.py
Class Name:
Method Name: _score_text
Project Name: comic/grand-challenge.org
Commit Name: 724f7544155eff1cb1a0e3c163e6ea5e95812098
Time: 2017-11-28
Author: jamesmeakin@gmail.com
File Name: app/comicsite/templatetags/comic_templatetags.py
Class Name: AllProjectLinksNode
Method Name: render_project_links_per_year
Project Name: RasaHQ/rasa
Commit Name: 59334cc9064fceb1cde43898b9c8bd74f3480985
Time: 2021-01-25
Author: christof@chdorner.com
File Name: rasa/shared/nlu/training_data/formats/rasa_yaml.py
Class Name: RasaYAMLWriter
Method Name: process_training_examples_by_key