Skip to content

docs: add arq integration usage page#302

Merged
lesnik512 merged 1 commit into
mainfrom
docs/arq-integration
Jul 11, 2026
Merged

docs: add arq integration usage page#302
lesnik512 merged 1 commit into
mainfrom
docs/arq-integration

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Adds the usage page for modern-di-arq (published to PyPI as modern-di-arq 2.0.0) and its two mkdocs.yml nav entries.

The page documents:

  • setup_di(worker_settings, container) seeding the root into arq's ctx and wiring the four lifecycle hooks (on_startup/on_shutdown for the root, on_job_start/on_job_end for the per-job Scope.REQUEST child), composing with existing hooks, supporting class and dict settings.
  • Order-insensitive @inject, the required ctx-first task parameter, passthrough behaviour, and the *args/**kwargs fail-fast at decoration.
  • Restart safety (open() reopen; double-setup_di TypeError) and the no-connection-provider design.

just docs-build (strict) passes.

🤖 Generated with Claude Code

Usage page for modern-di-arq (async Redis job-queue integration) plus its
mkdocs nav entries. Covers setup_di's four-hook wiring, per-job REQUEST scope,
order-insensitive @Inject, restart safety, and the *args/**kwargs fail-fast.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 8411d1f into main Jul 11, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/arq-integration branch July 11, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant