diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index d7130c9bd53f4b95cecd059f92e49777c2c2c5b9..7c4d88524fc69a39f45dabd6bd66d11e98e12adb 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -258,13 +258,6 @@ class Query(QueryMixin): def __call__(self): self.asSQLExpression() - def __hash__(self): - value = self.value - if isinstance(value, list): - value = tuple(value) - return hash((self.format, self.operator, self.range, self.search_mode, - self.table_alias_list, self.key, value, self.type)) - def getRange(self): return self.range @@ -461,10 +454,6 @@ class ComplexQuery(QueryMixin): def __call__(self): self.asSQLExpression() - def __hash__(self): - subquery_hash = hash(tuple([hash(x) for x in self.getQueryList()])) - return hash((subquery_hash, self.operator)) - def getQueryList(self): return self.query_list