Skip to content

Commit

Permalink
Remove the generation of the parameter "hack" for first release.
Browse files Browse the repository at this point in the history
  • Loading branch information
damienmarchal committed Jan 9, 2025
1 parent cb4e6bf commit 4ad2920
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scripts/sofaStubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4ad2920

Please sign in to comment.