Skip to content

Commit

Permalink
Fix issue probably-meant-fstring found at https://codereview.doctor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
code-review-doctor authored May 2, 2022
1 parent 741033e commit 50dc7af
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 50dc7af

Please sign in to comment.