Skip to content

Commit

Permalink
fix(insights): Fix trends actors query not using series properties wi…
Browse files Browse the repository at this point in the history
…th actions (#23094)
  • Loading branch information
webjunkie authored and thmsobrmlr committed Jun 24, 2024
1 parent 237f437 commit d7fff41
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,12 @@ def _entity_where_expr(self) -> list[ast.Expr]:
)
)

if self.entity.properties is not None and self.entity.properties != []:
conditions.append(property_to_expr(self.entity.properties, self.team))
else:
raise ValueError(f"Invalid entity kind {self.entity.kind}")

if self.entity.properties is not None and self.entity.properties != []:
conditions.append(property_to_expr(self.entity.properties, self.team))

return conditions

def _prop_where_expr(self) -> list[ast.Expr]:
Expand Down

0 comments on commit d7fff41

Please sign in to comment.