From 4ad29201dfc111e4975baabb2a8a79aef1e82886 Mon Sep 17 00:00:00 2001 From: Damien Marchal Date: Thu, 9 Jan 2025 11:41:20 +0100 Subject: [PATCH] Remove the generation of the parameter "hack" for first release. --- scripts/sofaStubgen.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/sofaStubgen.py b/scripts/sofaStubgen.py index 6016501f..a30e8f96 100644 --- a/scripts/sofaStubgen.py +++ b/scripts/sofaStubgen.py @@ -204,18 +204,6 @@ def __init__(self, {constructor_params_typehints}): {class_typehints} - @dataclasses.dataclass - class Parameters: - \"\"\"Parameter for the construction of the {class_name} component\"\"\" - -{params_typehints} - - def to_dict(self): - return dataclasses.asdict(self) - - @staticmethod - def new_parameters() -> Parameters: - return {class_name}.Parameters() """ def documentation_code(class_name):