From a03c5a9ee5ac7cd89bb9c1d8162da5969f3578d1 Mon Sep 17 00:00:00 2001 From: Michiel De Smet Date: Fri, 16 Sep 2022 13:30:27 +0200 Subject: [PATCH] Fix mutable constructor argument --- trino/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trino/client.py b/trino/client.py index ab8f3851..b973ff6b 100644 --- a/trino/client.py +++ b/trino/client.py @@ -930,8 +930,7 @@ class RowMapper: """ Maps a row of data given a list of mapping functions """ - - def __init__(self, columns=[]): + def __init__(self, columns): self.columns = columns def map(self, rows):