mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-03 21:20:49 +08:00
Simplify docstrings.
This commit is contained in:
parent
893ba2ad37
commit
e77983ca28
@ -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"
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user