@@ -15,7 +15,7 @@ class SerdeAPI(object):
1515 def from_yaml (cls ) -> Self : ...
1616 @classmethod
1717 def from_file (cls ) -> Self : ...
18- def to_file (self ): ...
18+ def to_file (self ): ...
1919 def to_bincode (self ) -> bytes : ...
2020 def to_json (self ) -> str : ...
2121 def to_yaml (self ) -> str : ...
@@ -301,7 +301,7 @@ class LocoParams:
301301 mass_kilograms : Optional [float ]
302302
303303 @classmethod
304- def from_dict (cls , param_dict : Dict [str , float ]) -> Self :
304+ def from_dict (cls , param_dict : Dict [str , float ]) -> Self :
305305 """
306306 Argument `param_dict` has keys matching attributes of class
307307 """
@@ -738,7 +738,7 @@ class LinkPoint(SerdeAPI):
738738 link_idx : LinkIdx
739739
740740
741- class PathResCoeff (SerdeAPI ):
741+ class PathResCoeff (SerdeAPI ):
742742 offset : float
743743 res_coeff : float
744744 res_net : float
@@ -790,7 +790,7 @@ class BrakingPoints(SerdeAPI):
790790 idx_curr : int
791791
792792
793- class FricBrakeState (SerdeAPI ):
793+ class FricBrakeState (SerdeAPI ):
794794 i : int
795795 force_newtons : float
796796 force_max_curr_newtons : float
@@ -800,7 +800,7 @@ class FricBrakeStateHistoryVec(SerdeAPI):
800800 i : List [int ]
801801 force_newtons : List [float ]
802802 force_max_curr_newtons : List [float ]
803-
803+
804804
805805class FricBrake (SerdeAPI ):
806806 force_max_newtons : float
@@ -983,6 +983,8 @@ class Heading(SerdeAPI):
983983 @classmethod
984984 def default (cls ) -> Self : ...
985985
986+ class SpeedSet (SerdeAPI ): ...
987+ # TODO: finish fleshing this out
986988
987989def import_locations (filename : str ) -> Dict [str , List [Location ]]: ...
988990def import_rail_vehicles (filename : str ) -> Dict [str , RailVehicle ]: ...
@@ -1097,4 +1099,4 @@ class TrainType(SerdeAPI):
10971099 Intermodal = altpy .TrainType .Intermodal ,
10981100 HighSpeedPassenger = altpy .TrainType .HighSpeedPassenger ,
10991101 TiltTrain = altpy .TrainType .TiltTrain ,
1100- Commuter = altpy .TrainType .Commuter ,
1102+ Commuter = altpy .TrainType .Commuter ,
0 commit comments