{
  "id": "pydantic-settings-table",
  "kind": "table",
  "slug": "pydantic-settings",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/pydantic-settings/",
  "title": "Pydantic BaseSettings environment loading",
  "columns": [
    "name",
    "kind",
    "detail"
  ],
  "rows": [
    {
      "name": "BaseSettings",
      "kind": "class",
      "detail": "Fills fields not passed as keywords from the environment."
    },
    {
      "name": "env_prefix",
      "kind": "option",
      "detail": "Adds a prefix to environment variable names."
    },
    {
      "name": "FastAPI",
      "kind": "use",
      "detail": "FastAPI uses a BaseSettings subclass for environment configuration."
    },
    {
      "name": "instantiation",
      "kind": "behavior",
      "detail": "Creating the settings object reads and then validates environment values."
    }
  ],
  "related_slugs": [
    "flask-and-fastapi",
    "fastapi-request-body",
    "fastapi-apirouter",
    "fastapi-lifespan"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (pydantic-settings); MIT (FastAPI docs); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "week-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}
