Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Oct 17, 2022
1 parent ee2bcc8 commit 4a5a6db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apis/python/src/tiledbsoma/query_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,8 @@ def get_att_from_node(self, node: QueryConditionNodeElem) -> Any:
raise tiledb.TileDBError(f"Attribute `{att}` not found in schema.")

if att not in self.query_attrs:
raise tiledb.TileDBError(
f"Attribute `{att}` given to filter in query's `attr_cond` "
"arg but not found in `attr` arg."
)
# https://github.com/TileDB-Inc/TileDB-Py/pull/1333/files
self.query_attrs.append(att)

return att

Expand Down

0 comments on commit 4a5a6db

Please sign in to comment.