Skip to content

Commit

Permalink
Fix mutable constructor argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesmet authored and hashhar committed Sep 22, 2022
1 parent ed4f9da commit 2bfe040
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions trino/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2bfe040

Please sign in to comment.