From b16fb7d91789735b7b934c4dc52c35b9f44673da Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 1 Jul 2025 17:27:58 +0500 Subject: [PATCH] bim.pip_install - add dynamic description --- src/bonsai/bonsai/bim/module/debug/operator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bonsai/bonsai/bim/module/debug/operator.py b/src/bonsai/bonsai/bim/module/debug/operator.py index 27a0e2f3a6..50e6e678fb 100644 --- a/src/bonsai/bonsai/bim/module/debug/operator.py +++ b/src/bonsai/bonsai/bim/module/debug/operator.py @@ -824,6 +824,10 @@ class PipInstall(bpy.types.Operator): bl_description = "Installs a package from PyPI" name: bpy.props.StringProperty() + @classmethod + def description(cls, context, properties): + return f"Installs a package from PyPI: '{properties.name}'." + def execute(self, context): blender_path = Path(bpy.app.binary_path).parent target = next(