From 3ab4e1a03a245452a962de06f1b8041cbef999e5 Mon Sep 17 00:00:00 2001 From: Matthew Wallace Date: Tue, 16 Jan 2024 16:24:46 -0700 Subject: [PATCH] Fix mypy --- dbt/adapters/mariadb/connections.py | 2 +- dbt/adapters/mysql/connections.py | 2 +- dbt/adapters/mysql5/connections.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbt/adapters/mariadb/connections.py b/dbt/adapters/mariadb/connections.py index c67a56a..af2de84 100644 --- a/dbt/adapters/mariadb/connections.py +++ b/dbt/adapters/mariadb/connections.py @@ -18,7 +18,7 @@ class MariaDBCredentials(Credentials): server: str = "" port: Optional[int] = None - database: Optional[str] = None + database: Optional[str] = None # type: ignore[assignment] schema: str = "" username: Optional[str] = None password: Optional[str] = None diff --git a/dbt/adapters/mysql/connections.py b/dbt/adapters/mysql/connections.py index 8c00e6b..7ddec32 100644 --- a/dbt/adapters/mysql/connections.py +++ b/dbt/adapters/mysql/connections.py @@ -18,7 +18,7 @@ class MySQLCredentials(Credentials): server: str = "" port: Optional[int] = None - database: Optional[str] = None + database: Optional[str] = None # type: ignore[assignment] schema: str = "" username: Optional[str] = None password: Optional[str] = None diff --git a/dbt/adapters/mysql5/connections.py b/dbt/adapters/mysql5/connections.py index 2eb7e96..b884079 100644 --- a/dbt/adapters/mysql5/connections.py +++ b/dbt/adapters/mysql5/connections.py @@ -18,7 +18,7 @@ class MySQLCredentials(Credentials): server: str = "" port: Optional[int] = None - database: Optional[str] = None + database: Optional[str] = None # type: ignore[assignment] schema: str = "" username: Optional[str] = None password: Optional[str] = None