Simplify docstrings.

This commit is contained in:
Talmaj Marinc 2026-06-30 17:45:43 +02:00
parent 893ba2ad37
commit e77983ca28
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
"""Shared constants for the download manager. """Shared constants for the download manager.
Status values are persisted as TEXT in the ``downloads`` table; keep them Status values are persisted as TEXT in the ``downloads`` table; keep them
stable. The lifecycle is (PRD section 6): stable. The lifecycle is:
queued -> active -> verifying -> completed queued -> active -> verifying -> completed
| |-> paused -> (resume) -> active | |-> paused -> (resume) -> active
@ -11,7 +11,7 @@ stable. The lifecycle is (PRD section 6):
from __future__ import annotations from __future__ import annotations
# Auth schemes for HostCredential (PRD section 9.4.1). # Auth schemes for HostCredential
AUTH_SCHEME_BEARER = "bearer" AUTH_SCHEME_BEARER = "bearer"
AUTH_SCHEME_HEADER = "header" AUTH_SCHEME_HEADER = "header"
AUTH_SCHEME_QUERY = "query" AUTH_SCHEME_QUERY = "query"

View File

@ -1,4 +1,4 @@
"""Public facade for the download manager (PRD section 10). """Public facade for the download manager.
This is the only object the server imports. It validates requests, owns the This is the only object the server imports. It validates requests, owns the
:class:`Scheduler`, and exposes a small async API plus read models for status. :class:`Scheduler`, and exposes a small async API plus read models for status.