Improve some variable names for clarity.
This commit is contained in:
parent
ffe0be21f5
commit
269cfb6762
1 changed files with 2 additions and 2 deletions
|
@ -154,9 +154,9 @@ def _sql_dictify(columns):
|
|||
an sql row.
|
||||
['test', 'toast'] -> {'test': 0, 'toast': 1}
|
||||
'''
|
||||
return {key: index for (index, key) in enumerate(columns)}
|
||||
return {column: index for (index, column) in enumerate(columns)}
|
||||
|
||||
SQL_INDEX = {key: _sql_dictify(value) for (key, value) in SQL_COLUMNS.items()}
|
||||
SQL_INDEX = {table: _sql_dictify(columns) for (table, columns) in SQL_COLUMNS.items()}
|
||||
|
||||
|
||||
ALLOWED_ORDERBY_COLUMNS = [
|
||||
|
|
Loading…
Reference in a new issue