From 158d3d1de5a6864283f4121a15bc1ac61e602b92 Mon Sep 17 00:00:00 2001 From: Arno Gobbin <32413451+a-gn@users.noreply.github.com> Date: Tue, 28 Oct 2025 23:55:28 +0100 Subject: [PATCH] mention pydantic models in the frontend writing documentation (#8338) --- docs/internals/frontends.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/internals/frontends.rst b/docs/internals/frontends.rst index bd7c00890..44a2fb9d8 100644 --- a/docs/internals/frontends.rst +++ b/docs/internals/frontends.rst @@ -28,6 +28,11 @@ On POSIX systems, you can usually set environment variables to choose a UTF-8 lo export LANG=en_US.UTF-8 export LC_CTYPE=en_US.UTF-8 +.. note:: + + `Pydantic `_ models are available in + ``src/borg/public/cli_api/v1.py`` + that can parse Borg's JSON log lines and stdout objects to make the job easier for frontends. Logging -------