def METHOD_NAME(self, db_name: str) -> Callable:
    def get_db_connection():
        conn = self.config.get_connection()
        conn.cursor().execute(SnowflakeQuery.use_database(db_name))
        return conn
    return get_db_connection