Skip to content

Commit

Permalink
Merge branch 'main' into releases/rc-trulens-1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-chu authored Jan 10, 2025
2 parents 5c74662 + ee056e9 commit c3e14f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/trulens/core/utils/threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
kwargs={},
daemon=None,
):
present_stack = python_utils.WeakWrapper(inspect.stack())
present_stack = python_utils.WeakWrapper(inspect.stack(0))
present_context = contextvars.copy_context()

fThread.__init__(
Expand Down Expand Up @@ -73,7 +73,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def submit(self, fn, /, *args, **kwargs):
present_stack = python_utils.WeakWrapper(inspect.stack())
present_stack = python_utils.WeakWrapper(inspect.stack(0))
present_context = contextvars.copy_context()

return super().submit(
Expand Down

0 comments on commit c3e14f4

Please sign in to comment.