We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb4e6bf commit 1312bf7Copy full SHA for 1312bf7
scripts/sofaStubgen.py
@@ -31,6 +31,8 @@ def sofa_to_python_typename(name, short=False):
31
"f" : "float",
32
"i" : "int",
33
"I" : "int",
34
+ "q" : "int",
35
+ "Q" : "int",
36
"L" : "int",
37
"l" : "int",
38
"b" : "int",
@@ -204,18 +206,6 @@ def __init__(self, {constructor_params_typehints}):
204
206
205
207
{class_typehints}
208
- @dataclasses.dataclass
- class Parameters:
209
- \"\"\"Parameter for the construction of the {class_name} component\"\"\"
210
-
211
-{params_typehints}
212
213
- def to_dict(self):
214
- return dataclasses.asdict(self)
215
216
- @staticmethod
217
- def new_parameters() -> Parameters:
218
- return {class_name}.Parameters()
219
"""
220
221
def documentation_code(class_name):
0 commit comments