Find a file
Sybren A. Stüvel c06b5c1dbd Python: Add docstrings to OpenAPI-generated dataclasses
Take the 'description' fields from the OpenAPI schema definition file,
and use those to generate docstrings for the dataclasses.

This adds another dependency to the generator's virtualenv:
docformatter. The generator already runs autopep8 via Blender's `make
format` command, but that doesn't rewrap long docstrings. That's what
docformatter now does.

No functional changes, just added developer comfort.

Pull Request: https://projects.blender.org/blender/blender/pulls/158598
2026-05-14 16:19:10 +02:00
.gitea
.github
.well-known
assets
build_files
doc
extern
intern
lib
locale
release
scripts
source
tests
tools
.clang-format
.clang-tidy
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
AUTHORS
CMakeLists.txt
COPYING
GNUmakefile
make.bat
pyproject.toml
README.md

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.

See blender.org/about/license for details.