From 30531affba31d6c271f421948d0871a5da8a095f Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Thu, 30 May 2024 18:02:06 +0200 Subject: [PATCH] Add small docstring about method --- Fange_Pipeline/operators/exports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fange_Pipeline/operators/exports.py b/Fange_Pipeline/operators/exports.py index c4e8def..147fa17 100644 --- a/Fange_Pipeline/operators/exports.py +++ b/Fange_Pipeline/operators/exports.py @@ -138,7 +138,8 @@ class ExportForFange(bpy.types.Operator): return Path() @staticmethod - def get_asset_name(): + def get_asset_name() -> str: + """From the .blend file, return the blend name.""" abs_blend_path = Path(bpy.data.filepath) return abs_blend_path.stem