mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(pylint): Reenable raise-missing-from check (#16266)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -79,8 +79,8 @@ class DruidEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
|
||||
"""
|
||||
try:
|
||||
extra = json.loads(database.extra or "{}")
|
||||
except json.JSONDecodeError:
|
||||
raise SupersetException("Unable to parse database extras")
|
||||
except json.JSONDecodeError as ex:
|
||||
raise SupersetException("Unable to parse database extras") from ex
|
||||
|
||||
if database.server_cert:
|
||||
engine_params = extra.get("engine_params", {})
|
||||
|
||||
Reference in New Issue
Block a user