From 60cb66a9ef16743eb894b7cafc50acdd797ccbc6 Mon Sep 17 00:00:00 2001 From: John Bodley <4567245+john-bodley@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:04:35 -0700 Subject: [PATCH] Fix lint --- superset/connectors/sqla/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/connectors/sqla/models.py b/superset/connectors/sqla/models.py index 253a994ea304..edde2232056c 100644 --- a/superset/connectors/sqla/models.py +++ b/superset/connectors/sqla/models.py @@ -232,7 +232,7 @@ def __init__(self, **kwargs: Any) -> None: the ORM) depending on the context. """ - self._database: Optional[Database] = kwargs.pop("database", None) + self._database: Database | None = kwargs.pop("database", None) super().__init__(**kwargs) @reconstructor