Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Pytest Trio Failure with Patched function inside Traceable Decorated Function #1108

Open
oftenfrequent opened this issue Oct 18, 2024 · 0 comments

Comments

@oftenfrequent
Copy link

Issue you'd like to raise.

I have set up an example repo to display the error I am facing. Essentially when I add the traceable decorator to a function, I lose the ability to patch functions called inside the decorated function when tests are run with trio. Tests pass with asyncio.

This has caused us to rewrite our logic so that the only thing that happens in our decorated function is the call to the LLM. This has increased the number of traces required on our service and added extra development time.

Suggestion:

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant