mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-03 13:19:23 +08:00
Docstring simplification.
This commit is contained in:
parent
1744026eca
commit
e02c7a0890
@ -1,4 +1,4 @@
|
||||
"""The credential store: one API key per host (PRD section 9.4).
|
||||
"""The credential store: one API key per host.
|
||||
|
||||
Secrets are write-only over the API — :class:`CredentialView` carries only
|
||||
masked metadata (``secret_last4`` + scheme + label), never the secret itself.
|
||||
@ -23,7 +23,7 @@ from app.model_downloader.database.models import HostCredential
|
||||
|
||||
|
||||
def normalize_host(host: str) -> str:
|
||||
"""Lowercase, strip port, IDNA-encode (PRD section 9.4.3)."""
|
||||
"""Lowercase, strip port, IDNA-encode."""
|
||||
if not host:
|
||||
return ""
|
||||
host = host.strip().lower()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user