code stringlengths 3 6.57k |
|---|
utils.strBeforeAfter(line,"=") |
utils.getConfigInSection(os.path.join(self.runPath,'config',self.configFileName) |
utils.strBeforeAfter(line,"=") |
utils.getConfigInSection(self.confFile) |
utils.strBeforeAfter(line,"=") |
re.compile(self.constraintDict[tag]) |
pattern.match(value) |
self.logger.warn("The value for %s (%s) |
os.path.join(self.outPath, utils.getFileName(self.inFile) |
self.logger.debug('Runtime configuration successful') |
createConfFile(self, path, force=False) |
os.path.join(path, self.configFileName) |
if (os.path.isfile(confFile) |
open(confFile,'w') |
f.write(header) |
utils.copySection(os.path.join(self.runPath,'config','general.conf') |
utils.copySection(os.path.join(self.runPath,'config',self.configFileName) |
__getitem__(self, key) |
printSettings(self) |
self.settingDict.iteritems() |
Logger (logging object) |
located (str) |
file (str) |
name (str) |
directory (str) |
mode (str) |
file (str) |
file (str) |
settings (dict) |
cached_property(object) |
__init__(self, func) |
getattr(func, '__doc__') |
__get__(self, obj, cls) |
self.func(obj) |
ApiError(Exception) |
__init__(self, error=None, status_code=None, **kwargs) |
to_json(self) |
data.update(self.details) |
Request(_Request) |
__init__(self, *args, **kwargs) |
_Request.__init__(self, *args, **kwargs) |
response(self) |
HeaderResponse() |
process_response(self, response) |
response.headers._list.extend(headers) |
HeaderResponse(Response) |
__init__(self) |
Headers() |
Flask(_Flask) |
__init__(self, *args, **kwargs) |
_Flask.__init__(self, *args, **kwargs) |
logging.getLogger(self.logger_name) |
route(self, rule, endpoint=None, weight=None, **options) |
decorator(func) |
format(func.__name__, self.endpoint_counter) |
self.add_url_rule(rule, lendpoint, func, **options) |
api(self, *args, **kwargs) |
decorator(func) |
wraps(func) |
inner(*args, **kwargs) |
func(*args, **kwargs) |
self.logger.exception('Unhandled error') |
ApiError() |
isinstance(result, Response) |
isinstance(result, ApiError) |
result.to_json() |
self.response_class(json.dumps(result, ensure_ascii=False) |
self.route(*args, **kwargs) |
process_response(self, response) |
_request_ctx_stack.top.request.process_response(response) |
_Flask.process_response(self, response) |
print_routes(self, sort=False) |
self.url_map.iter_rules() |
sorted(rules, key=lambda r: r.rule) |
join(rule.methods) |
column_formatter_v3(self, reset=False, image_num=None) |
PPImage.objects.filter(public_account=self) |
all_images.filter(path__icontains=image_num) |
self.reset(all_images) |
all_images.order_by("path") |
Row.objects.filter(image=image) |
all_rows.count() |
row.get_errors() |
row.get_vision_data() |
enumerate(vision_data) |
len(c_errors) |
clean_text(col) |
get_normal_name(col) |
row_data.append(final_value) |
setattr(row, column_types[idx]["field"], final_value) |
json.dumps(row_data) |
errors.append("Fila sin información de colonia") |
json.dumps(errors) |
set_values_row(row) |
row.save() |
self.get_variables() |
image.get_table_data() |
enumerate(row[3:]) |
calculateNumber(value, columns_nums[idx]) |
enumerate(columns_nums) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.