Skip to content
Back to skills

434 Client Enqueue 69218eee

ASecurity

handle = client.enqueue({}, task_data) ``` **Correct (with required options):** ```python from dbos import DBOSClient, EnqueueOptions client = DBOSClient(system_database_url=db_url) options: EnqueueOptions = { "workflow_name": "process_task", # Required "queue_name": "task_queue", # Required } handle = client.enqueue(options, task_data) result = handle.get_result() client.destroy() ``` With optional parameters: ```python options: EnqueueOptions = { "workflow_name": "process_task", "que...

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
businesspythonapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 434-client-enqueue_69218eee --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 434 Client Enqueue 69218eee?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 434 Client Enqueue 69218eee
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-434-client-enqueue-69218eee/badge)](https://www.skillsdirectory.com/skills/tools-only-434-client-enqueue-69218eee)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
title: Enqueue Workflows from External Applications
impact: HIGH
impactDescription: Enables decoupled architecture with separate API and worker services
tags: client, enqueue, workflow, external
---

## Enqueue Workflows from External Applications

Use `client.enqueue()` to submit workflows from outside the DBOS application. Must specify workflow and queue names explicitly.

**Incorrect (missing required options):**

```python
from dbos import DBOSClient

client = DBOSClient(system_database_url=db_url)

# Missing workflow_name and queue_name!
handle = client.enqueue({}, task_data)
```

**Correct (with required options):**

```python
from dbos import DBOSClient, EnqueueOptions

client = DBOSClient(system_database_url=db_url)

options: EnqueueOptions = {
    "workflow_name": "process_task",  # Required
    "queue_name": "task_queue",       # Required
}
handle = client.enqueue(options, task_data)
result = handle.get_result()
client.destroy()
```

With optional parameters:

```python
options: EnqueueOptions = {
    "workflow_name": "process_task",
    "queue_name": "task_queue",
    "workflow_id": "custom-id-123",
    "workflow_timeout": 300,
    "deduplication_id": "user-123",
    "priority": 1,
}
```

Limitation: Cannot enqueue workflows that are methods on Python classes.

Reference: [DBOSClient.enqueue](https://docs.dbos.dev/python/reference/client#enqueue)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.