From ce92fc152b0d03287e2ea4a77870854f1d24f9ba Mon Sep 17 00:00:00 2001 From: PApostol <50751110+PApostol@users.noreply.github.com> Date: Thu, 2 Dec 2021 06:35:25 +0000 Subject: [PATCH] Update docstrings in presto.py (#17623) --- superset/db_engine_specs/presto.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/superset/db_engine_specs/presto.py b/superset/db_engine_specs/presto.py index 68feb3f41e..7f8405220d 100644 --- a/superset/db_engine_specs/presto.py +++ b/superset/db_engine_specs/presto.py @@ -235,7 +235,6 @@ class PrestoEngineSpec(BaseEngineSpec): # pylint: disable=too-many-public-metho that can set the correct properties for impersonating users :param connect_args: config to be updated :param uri: URI string - :param impersonate_user: Flag indicating if impersonation is enabled :param username: Effective username :return: None """ @@ -661,9 +660,7 @@ class PrestoEngineSpec(BaseEngineSpec): # pylint: disable=too-many-public-metho Run a SQL query that estimates the cost of a given statement. :param statement: A single SQL statement - :param database: Database instance :param cursor: Cursor instance - :param username: Effective username :return: JSON response from Presto """ sql = f"EXPLAIN (TYPE IO, FORMAT JSON) {statement}"