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

[Bug]: Calling update_current_span with output parameter does nothing #708

Closed
1 of 4 tasks
jverre opened this issue Nov 23, 2024 · 0 comments · Fixed by #709
Closed
1 of 4 tasks

[Bug]: Calling update_current_span with output parameter does nothing #708

jverre opened this issue Nov 23, 2024 · 0 comments · Fixed by #709
Labels
bug Something isn't working

Comments

@jverre
Copy link
Collaborator

jverre commented Nov 23, 2024

What component(s) are affected?

  • Python SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • Opik version: 1.1.9

Describe the problem

Calling update_current_span(output={"new_key": "test"}) does not update the output.

Reproduction steps

from opik import track, opik_context

@track
    def f(x):
        opik_context.update_current_span(
            output={"span-output-key": "span-output-value"},
        )
        opik_context.update_current_trace(
            output={"trace-output-key": "trace-output-value"},
        )

        return "f-output"
@jverre jverre added the bug Something isn't working label Nov 23, 2024
@jverre jverre changed the title [Bug]: [Bug]: Calling update_current_span with output parameter does nothing Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant