Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/openai/openai-agents-python
/ fetch_ordered_spans
Function
fetch_ordered_spans
tests/testing_processor.py:71–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
70
71
def
fetch_ordered_spans() -> list[Span[Any]]:
72
return
SPAN_PROCESSOR_TESTING.get_ordered_spans()
73
74
75
def
fetch_traces() -> list[Trace]:
Callers
15
test_parent_span_and_trace_finish_after_slow_input_guardrail
Function · 0.90
test_parent_span_and_trace_finish_after_slow_model
Function · 0.90
test_sandbox_session_error_events_and_traces_include_retryability
Function · 0.90
test_get_response_span_exports_usage
Function · 0.90
test_non_data_tracing_doesnt_set_response_id
Function · 0.85
test_stream_non_data_tracing_doesnt_set_response_id
Function · 0.85
assert_no_spans
Function · 0.85
fetch_normalized_spans
Function · 0.85
test_task_and_turn_spans_export_aggregate_usage
Function · 0.85
test_task_span_resets_current_span_if_run_setup_fails
Function · 0.85
test_resumed_run_reuses_original_trace_without_duplicate_trace_start
Function · 0.85
test_resumed_run_task_span_usage_is_run_local_delta
Function · 0.85
Calls
1
get_ordered_spans
Method · 0.80
Tested by
no test coverage detected