3ae77833389609a2c958c745e47086ece9efef73,modules/s3/s3gis.py,GIS,set_config,#Any#Any#,1265
Before Change
left=left,
orderby=ctable.pe_type,
limitby=(0, 2))
if len(rows) == 1:
// The requested config must be invalid, so just use site default
row = rows.first()
elif config_id == 0:
// Use site default
query = (ctable.uuid == "SITE_DEFAULT")
// May well not be complete, so Left Join
After Change
// Just use this config
row = db(ctable.id == config_id).select(*fields,
left = left,
limitby = (0, 1)
).first()
else:
// The requested config must be invalid, so just use site default
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: sahana/eden
Commit Name: 3ae77833389609a2c958c745e47086ece9efef73
Time: 2020-03-30
Author: fran@aidiq.com
File Name: modules/s3/s3gis.py
Class Name: GIS
Method Name: set_config
Project Name: estnltk/estnltk
Commit Name: 18ac84177e0905c92b87efa5ba9ad515e125bb0d
Time: 2015-06-03
Author: tpetmanson@gmail.com
File Name: estnltk/dividing.py
Class Name:
Method Name: lists_collect_spans
Project Name: estnltk/estnltk
Commit Name: 18ac84177e0905c92b87efa5ba9ad515e125bb0d
Time: 2015-06-03
Author: tpetmanson@gmail.com
File Name: estnltk/dividing.py
Class Name:
Method Name: lists_collect_lists