Skip to content

Commit

Permalink
used 'List' instead of 'list' to ensure python <3.9 compatibilty (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpingham authored Feb 21, 2023
1 parent 1a65f52 commit 68eb785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/db/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _create_where_clause(self, collection_uuid, ids=None, where={}, where_docume

where_clauses.append(f"collection_uuid = '{collection_uuid}'")
# We know that where_clauses is not empty, so force typechecker
where = " AND ".join(cast(list[str], where_clauses))
where = " AND ".join(cast(List[str], where_clauses))
where = f"WHERE {where}"
return where

Expand Down

0 comments on commit 68eb785

Please sign in to comment.