MCPcopy Index your code
hub / github.com/google/adk-python / get_finished_spans

Method get_finished_spans

src/google/adk/cli/api_server.py:366–370  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

364 return True
365
366 def get_finished_spans(self, session_id: str):
367 trace_ids = self.trace_dict.get(session_id, None)
368 if trace_ids is None or not trace_ids:
369 return []
370 return [x for x in self._spans if x.context.trace_id in trace_ids]
371
372 def clear(self):
373 self._spans.clear()

Calls 1

getMethod · 0.45