mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Fix for RuntimeError: dictionary changed size during iteration (#2320)
This commit is contained in:
parent
9d8d421384
commit
b4a96bd840
@ -74,7 +74,7 @@ def cast_form_data(form_data):
|
||||
d[k] = v
|
||||
if 'filters' not in d:
|
||||
d = cast_filter_data(d)
|
||||
for k in d.keys():
|
||||
for k in list(d.keys()):
|
||||
if k not in FORM_DATA_KEY_WHITELIST:
|
||||
del d[k]
|
||||
return d
|
||||
|
Loading…
Reference in New Issue
Block a user