def METHOD_NAME(self, statement_timeout: int, pool_recycle: int) -> None:
    # When running in dagster-webserver, hold an open connection
    # https://github.com/dagster-io/dagster/issues/3719
    self._engine = create_engine(
        self.mysql_url,
        isolation_level=mysql_isolation_level(),
        pool_size=1,
        pool_recycle=pool_recycle,
    )