File tree 4 files changed +5
-5
lines changed 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -91,4 +91,4 @@ async def simulate_env(env_id: str) -> "EnvSummary":
91
91
## Args
92
92
``` env_id: str ```
93
93
"""
94
- return await EnvController .simulate (env_id )
94
+ return await EnvController .simulate_env (env_id )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ async def read_rocketpy_flight(flight_id: int) -> "FlightPickle":
62
62
## Args
63
63
``` flight_id: Flight ID hash. ```
64
64
"""
65
- return await FlightController .get_rocketpy_flight (flight_id )
65
+ return await FlightController .get_rocketpy_flight_as_jsonpickle (flight_id )
66
66
67
67
68
68
@router .put ("/{flight_id}/env" )
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ async def read_rocketpy_motor(motor_id: int) -> "MotorPickle":
82
82
## Args
83
83
``` motor_id: Motor ID hash ```
84
84
"""
85
- return await MotorController .get_rocketpy_motor (motor_id )
85
+ return await MotorController .get_rocketpy_motor_as_jsonpickle (motor_id )
86
86
87
87
88
88
@router .get ("/{motor_id}/simulate" )
@@ -93,4 +93,4 @@ async def simulate_motor(motor_id: int) -> "MotorSummary":
93
93
## Args
94
94
``` motor_id: Motor ID hash ```
95
95
"""
96
- return await MotorController .simulate (motor_id )
96
+ return await MotorController .simulate_motor (motor_id )
Original file line number Diff line number Diff line change @@ -103,4 +103,4 @@ async def simulate_rocket(rocket_id: int) -> "RocketSummary":
103
103
## Args
104
104
``` rocket_id: Rocket ID hash ```
105
105
"""
106
- return await RocketController .simulate (rocket_id )
106
+ return await RocketController .simulate_rocket (rocket_id )
You can’t perform that action at this time.
0 commit comments