← Về thư mục
openai4s/server/execution_sources.py
- ExecutionSourcesExportTooLarge · class · L66-L67 — class ExecutionSourcesExportTooLarge(ValueError)
- output_artifact_bindings · function · L109-L215 — def output_artifact_bindings( store: Any, frame_id: str, *, cell_ids: set[str] | None = None, producer_frame_id: str | None = None, producer_frames: Mapping[str, str] | None = None, newest_only: bool = False, ) -> dict[str, list[dict[str, str]]]
- _int_or_zero · function · L218-L219 — def _int_or_zero(value: Any) -> int
- ExecutionSourcesService · class · L222-L665 — class ExecutionSourcesService
- init · method · L225-L226 — def init(self, store: Any) -> None
- projection · method · L229-L264 — def projection( self, root_frame_id: str, *, branch_id: str | None = None ) -> dict[str, Any]
- export · method · L267-L370 — def export( self, root_frame_id: str, *, branch_id: str | None = None ) -> dict[str, Any]
- _collect · method · L373-L475 — def _collect( self, root_frame_id: str, branch_id: str | None, *, max_source_bytes: int | None = None, ) -> tuple[list[dict[str, Any]], bool]
- visit · function · L391-L455 — def visit( frame: Mapping[str, Any], *, parent_id: str | None, depth: int, order: int, directory: str, ) -> None
- _delegate_children · method · L477-L488 — def _delegate_children(self, frame_id: str) -> list[dict[str, Any]]: #
_collect has already resolved this frame. A backend failure while # enumerating its children is not evidence that it has no children; # propagating the error keeps the projection from looking complete # when part of the execution tree could not be read.
- _frame_cells · method · L490-L550 — def _frame_cells( self, frame_id: str, *, root_frame_id: str, branch_id: str | None, is_root: bool, generation_cache: dict[tuple[str, str], tuple[bool, dict[str, Any] | None]], source_budget: dict[str, int | None], ) -> tuple[list[dict[str, Any]], bool]
- _branch_cells · method · L552-L572 — def _branch_cells(self, root_frame_id: str, branch_id: str) -> list[dict]
- local · function · L555-L561 — def local(selected: str) -> list[dict]
- _artifact_links · method · L574-L589 — def _artifact_links( self, root_frame_id: str, producer_frames: Mapping[str, str] ) -> dict[str, list[str]]
- _environment · method · L591-L620 — def _environment( self, generation_id: Any, *, frame_id: str, cache: dict[tuple[str, str], tuple[bool, dict[str, Any] | None]], ) -> tuple[bool, dict[str, Any] | None]
- _status · method · L623-L629 — def _status(row: Mapping[str, Any]) -> str
- _int · method · L632-L636 — def _int(value: Any) -> int
- _stored_timestamp · method · L639-L643 — def _stored_timestamp(newest_ms: int) -> str | None
- _safe_component · method · L646-L654 — def _safe_component(value: Any) -> str
- _safe_stem · method · L657-L665 — def _safe_stem(value: str) -> str