-
[OPIK-2786] [P SDK] Implement recording context manager that will allow to get Trace- and Span- models for the submitted data (#3880)
发布于
2025-11-03 10:49:49 +00:00 -
[OPIK-2786] [P SDK] Added Claude Code skill to start/stop local backend/frontend using an existing
dev-runner.shscript. This will help automatic tests execution by Claude agent during development. -
[OPIK-2786] [P SDK] Add
record_traces_locallycontext manager for task span testing
- Introduced
record_traces_locallyin Python SDK to support local span/trace recording and metric evaluation without full backend interaction. - Added examples in documentation for testing task span metrics locally.
- Updated
index.rstto includelocal_recordingin API reference. - Implemented e2e tests to validate nested usage, span flushing, and reuse after context exit.
- [OPIK-2786] [DOCS] Document
record_traces_locallycontext manager for Python SDK
- Added a detailed RST file for the
record_traces_locallyfeature in the Python SDK that allows local span/trace recording. - Included examples, usage guidelines, return types, and constraints for better understanding.
- Updated the SDK documentation with testing and debugging use cases of local recording.
-
[OPIK-2786] [DOCS] Updated documentation
-
[OPIK-2786] [DOCS] Updated documentation
下载附件
-