Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 10, 2024
1 parent 1c900f7 commit 3632f02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class MathAvailability(StrEnum):
]


def is_entity_variable(item: any) -> bool:
def is_entity_variable(item: Any) -> bool:
return isinstance(item, str) and item.startswith("{") and item.endswith("}")


Expand Down Expand Up @@ -187,6 +187,7 @@ def exlusion_entity_to_node(entity) -> FunnelExclusionEventsNode | FunnelExclusi
base_entity = legacy_entity_to_node(
LegacyEntity(entity), include_properties=False, math_availability=MathAvailability.Unavailable
)
assert isinstance(base_entity, EventsNode | ActionsNode)
if isinstance(base_entity, EventsNode):
return FunnelExclusionEventsNode(
**base_entity.model_dump(),
Expand Down

0 comments on commit 3632f02

Please sign in to comment.