From 736c00a4db82f637317ade3baf921bbea866a7ea Mon Sep 17 00:00:00 2001 From: Ivan Belyaev Date: Tue, 19 Nov 2024 00:59:37 +0300 Subject: [PATCH] fix typo --- modules/mysql/testcontainers/mysql/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mysql/testcontainers/mysql/__init__.py b/modules/mysql/testcontainers/mysql/__init__.py index 52ea1e97..e45aa12a 100644 --- a/modules/mysql/testcontainers/mysql/__init__.py +++ b/modules/mysql/testcontainers/mysql/__init__.py @@ -108,7 +108,7 @@ def _connect(self) -> None: def get_connection_url(self) -> str: dialect = "mysql" - if self.dialect is None: + if self.dialect is not None: dialect = f"mysql+{self.dialect}" return super()._create_connection_url(