From e77983ca28571f338924660ef961123e80d69b5f Mon Sep 17 00:00:00 2001 From: Talmaj Marinc Date: Tue, 30 Jun 2026 17:45:43 +0200 Subject: [PATCH] Simplify docstrings. --- app/model_downloader/constants.py | 4 ++-- app/model_downloader/manager.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/model_downloader/constants.py b/app/model_downloader/constants.py index 0692a7430..457e36b33 100644 --- a/app/model_downloader/constants.py +++ b/app/model_downloader/constants.py @@ -1,7 +1,7 @@ """Shared constants for the download manager. 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 | |-> paused -> (resume) -> active @@ -11,7 +11,7 @@ stable. The lifecycle is (PRD section 6): from __future__ import annotations -# Auth schemes for HostCredential (PRD section 9.4.1). +# Auth schemes for HostCredential AUTH_SCHEME_BEARER = "bearer" AUTH_SCHEME_HEADER = "header" AUTH_SCHEME_QUERY = "query" diff --git a/app/model_downloader/manager.py b/app/model_downloader/manager.py index 5ce8176d2..206701b37 100644 --- a/app/model_downloader/manager.py +++ b/app/model_downloader/manager.py @@ -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 :class:`Scheduler`, and exposes a small async API plus read models for status.