Skip to content

Conversation

@scottire
Copy link
Contributor

@scottire scottire commented Feb 6, 2026

Summary

  • Adds include_username: bool parameter to get_calls() SDK method
  • Adds wb_username field to CallSchema for resolved username
  • Adds include_username field to CallsQueryReq

Changes

  • weave/trace_server/trace_server_interface.py: Added wb_username to CallSchema, include_username to CallsQueryReq
  • weave/trace/weave_client.py: Added include_username parameter to get_calls()
  • weave/trace/call.py: Pass parameter through _make_calls_iterator()

Related

Server-side implementation in wandb/core PR: https://github.com/wandb/core/pull/38944

🤖 Generated with Claude Code

Adds a new `include_username` boolean parameter to `get_calls()` that
resolves `wb_user_id` (UUID) to the actual username. Returns a new
`wb_username` field in CallSchema.

- Add `wb_username` field to CallSchema
- Add `include_username` parameter to CallsQueryReq
- Pass parameter through get_calls() -> _make_calls_iterator() -> CallsQueryReq

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@scottire scottire requested a review from a team as a code owner February 6, 2026 11:14
@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wandbot-3000
Copy link

wandbot-3000 bot commented Feb 6, 2026

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

Successfully merging this pull request may close these issues.

1 participant