We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d4f95f + 8290ca5 commit 62fb809Copy full SHA for 62fb809
polymorphic/query.py
@@ -277,7 +277,8 @@ def tree_node_test___lookup(my_model, node):
277
tree_node_test___lookup(self.model, a)
278
elif hasattr(a, "get_source_expressions"):
279
for source_expression in a.get_source_expressions():
280
- test___lookup(source_expression)
+ if source_expression is not None:
281
+ test___lookup(source_expression)
282
else:
283
assert "___" not in a.name, ___lookup_assert_msg
284
0 commit comments