← Về thư mục
openai4s/orchestration/ports.py
- Created · class · L53-L57 — class Created
- Existing · class · L61-L69 — class Existing
- Rejected · class · L73-L78 — class Rejected
- Unknown · class · L82-L92 — class Unknown
- AllocationBackend · class · L99-L154 — class AllocationBackend(Protocol)
- submit · method · L111-L120 — def submit( self, *, allocation: Allocation, spec: WorkloadSpec, profile: ResourceProfile, ) -> SubmitResult
- observe · method · L122-L124 — def observe(self, allocation: Allocation) -> Observation
- cancel · method · L126-L129 — def cancel(self, allocation: Allocation, *, reason: Reason) -> None
- find_by_token · method · L131-L136 — def find_by_token(self, token: SubmissionToken) -> ExternalHandle | None
- diagnostics · method · L138-L140 — def diagnostics(self) -> dict[str, Any]
- log_paths · method · L142-L154 — def log_paths(self, allocation_id: str) -> tuple[Any, Any]
- TerminalAllocationAcknowledger · class · L158-L175 — class TerminalAllocationAcknowledger(Protocol)
- terminal_acknowledgement_candidates · method · L169-L171 — def terminal_acknowledgement_candidates(self) -> tuple[str, ...]
- acknowledge_terminal · method · L173-L175 — def acknowledge_terminal(self, allocation: Allocation) -> None
- SessionIsolationProvider · class · L179-L194 — class SessionIsolationProvider(Protocol)
- isolates_session_credentials · method · L192-L194 — def isolates_session_credentials(self) -> bool
- has_session_credential_isolation · function · L197-L205 — def has_session_credential_isolation(backend: object | None) -> bool
- TaskRunner · class · L209-L220 — class TaskRunner(Protocol)
- run_task · method · L220-L220 — def run_task(self, allocation: Allocation, spec: TaskSpec) -> TaskResult