Skip to content

Commit

Permalink
Merge branch 'master' into sa-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAquilino authored Aug 23, 2023
2 parents 082dabc + 060c601 commit 8694e7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clickhouse_sqlalchemy/types/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ class Boolean(types.Boolean, ClickHouseTypeEngine):
class Array(ClickHouseTypeEngine):
__visit_name__ = 'array'

hashable = False

def __init__(self, item_type):
self.item_type = item_type
self.item_type_impl = to_instance(item_type)
super(Array, self).__init__()

@property
def python_type(self):
return list

def literal_processor(self, dialect):
item_processor = self.item_type_impl.literal_processor(dialect)

Expand Down

0 comments on commit 8694e7f

Please sign in to comment.