From 0cdaa849f6111dfaabfc81b9f214571d4c18f85a Mon Sep 17 00:00:00 2001 From: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Date: Mon, 2 May 2022 17:24:48 +0100 Subject: [PATCH] Fix issue probably-meant-fstring found at https://codereview.doctor (#19826) --- superset/db_engine_specs/presto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/db_engine_specs/presto.py b/superset/db_engine_specs/presto.py index 645dd32d26424..bd7424b0de077 100644 --- a/superset/db_engine_specs/presto.py +++ b/superset/db_engine_specs/presto.py @@ -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 = (