mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Rename the dummy variable _ to avoid conflict with lazy_gettext (#427)
Otherwise "local variable '_' referenced before assignment" will be raised
This commit is contained in:
parent
a3a9ec926f
commit
1d0863abfe
@ -1162,7 +1162,7 @@ class DruidDatasource(Model, AuditMixinNullable, Queryable):
|
||||
if df is not None and not df.empty:
|
||||
dims = qry['dimensions']
|
||||
filters = []
|
||||
for _, row in df.iterrows():
|
||||
for unused, row in df.iterrows():
|
||||
fields = []
|
||||
for dim in dims:
|
||||
f = Filter.build_filter(Dimension(dim) == row[dim])
|
||||
|
Loading…
Reference in New Issue
Block a user