How do I find callers of an overridden method in FalkorDB code-graph?
I'm using code-graph to figure out what might break when I change a method. It works fine for direct calls, but I keep missing callers that go through a base class. Here's a stripped-down example: class Shape: def area(self) -> float: raise NotImplementedError class Circle(Shape): def __init__(self, r: float): self.r = r def area(self) -> float: return 3.14 * self.r ** 2 def total_area(shapes: list[Shape]) -> float: return sum(s.area() for s in shapes) def print_report(shapes: list[Shape]) -> None: print(total_area(shapes)) After indexing, total_area has a CALLS edge to Shape.area, and Circle.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.