Skip to content

Commit ba7c28b

Browse files
addresses PR review
1 parent fb23890 commit ba7c28b

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

src/views/environment.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ class EnvironmentSimulation(ApiBaseView):
6262
geodesic_to_utm: Optional[Any] = None
6363
utm_to_geodesic: Optional[Any] = None
6464

65-
def __init__(self, **data):
66-
"""
67-
Initialize with dynamic attribute handling.
68-
69-
Any additional attributes returned by rocketpy_encoder will be stored
70-
as extra fields thanks to the 'allow' extra configuration.
71-
"""
72-
super().__init__(**data)
73-
7465

7566
class EnvironmentView(EnvironmentModel):
7667
environment_id: Optional[str] = None

src/views/motor.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ class MotorSimulation(ApiBaseView):
6666
total_mass_flow_rate: Optional[Any] = None
6767
thrust: Optional[Any] = None
6868

69-
def __init__(self, **data):
70-
"""
71-
Initialize with dynamic attribute handling.
72-
73-
Any additional attributes returned by rocketpy_encoder will be stored
74-
as extra fields thanks to the 'allow' extra configuration.
75-
"""
76-
super().__init__(**data)
77-
7869

7970
class MotorView(MotorModel):
8071
motor_id: Optional[str] = None

src/views/rocket.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ class RocketSimulation(MotorSimulation):
4848
thrust_to_weight: Optional[Any] = None
4949
total_lift_coeff_der: Optional[Any] = None
5050

51-
def __init__(self, **data):
52-
"""
53-
Initialize with dynamic attribute handling.
54-
55-
Any additional attributes returned by rocketpy_encoder will be stored
56-
as extra fields thanks to the 'allow' extra configuration.
57-
"""
58-
super().__init__(**data)
59-
6051

6152
class RocketView(RocketModel):
6253
rocket_id: Optional[str] = None

0 commit comments

Comments
 (0)