FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring, source collection, LLM-based change analysis, enrichment, and account security (Turnstile, escalating lockout, email verification).
17 lines
383 B
Python
17 lines
383 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class SystemSecretStatus(BaseModel):
|
|
key: str
|
|
label: str
|
|
configured: bool
|
|
value: str | None
|
|
|
|
|
|
class SetSystemSecretRequest(BaseModel):
|
|
# Blank clears the stored override, falling back to the server's
|
|
# .env-configured value again.
|
|
value: str = Field(default="", max_length=2000)
|