Skip to content

API Reference parrot.integrations.core.queued.context

github-actions[bot] edited this page Dec 2, 2026 · 2 revisions

parrot.integrations.core.queued.context

View source

Context-local access to a running command job.

Class CommandJobContext

The current command's job identity and progress owner.

Fields:

Field Type Default Description
job_id str
command str
requester Requester
service Any

Attribute LOGGER

Alias Requester

Re-exported from parrot.integrations.core.queued.models.Requester.

Attribute current_command_job

Type: ContextVar[Optional[CommandJobContext]]

Function current_job_id

Return the running job ID, or None outside queued execution.

current_job_id() -> Optional[str]

Returns: Optional[str]

Function report_command_progress

Record progress for the current queued command without raising.

report_command_progress(message: str) -> None

Parameter Type Default Description
message str

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally