Skip to content

Commit 6d41455

Browse files
committed
ref
1 parent 36b652c commit 6d41455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/xorq/common/utils/trace_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def get_lineage(self, span_id):
386386
return lineage
387387

388388
def get_depth(self, depth):
389-
return self.get_depths.get(depth, ())
389+
return self.depths.get(depth, ())
390390

391391
def get_duration_delta(self, parent_span_id, lossless_leafs=True):
392392
parent_span = next(
@@ -409,7 +409,7 @@ def get_duration_delta(self, parent_span_id, lossless_leafs=True):
409409
return 0
410410

411411
@functools.cached_property
412-
def get_depths(self):
412+
def depths(self):
413413
spans = tuple(span for span in self.spans if span != self.parent_span)
414414
depths = {
415415
0: (self.parent_span,),

0 commit comments

Comments
 (0)