Skip to content

Commit

Permalink
Fix issue probably-meant-fstring found at https://codereview.doctor (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
code-review-doctor committed May 11, 2022
1 parent 965c92c commit 3024d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/db_engine_specs/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ def latest_sub_partition(
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 = (
Expand Down

0 comments on commit 3024d1d

Please sign in to comment.