mirror of https://github.com/apache/superset.git
Fix issue probably-meant-fstring found at https://codereview.doctor (#19826)
This commit is contained in:
parent
741033e87d
commit
50dc7af583
|
@ -1198,7 +1198,7 @@ class PrestoEngineSpec(BaseEngineSpec): # pylint: disable=too-many-public-metho
|
|||
part_fields = indexes[0]["column_names"]
|
||||
for k in kwargs.keys(): # pylint: disable=consider-iterating-dictionary
|
||||
if k not in k in part_fields: # pylint: disable=comparison-with-itself
|
||||
msg = "Field [{k}] is not part of the portioning key"
|
||||
msg = f"Field [{k}] is not part of the portioning key"
|
||||
raise SupersetTemplateException(msg)
|
||||
if len(kwargs.keys()) != len(part_fields) - 1:
|
||||
msg = (
|
||||
|
|
Loading…
Reference in New Issue