File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/virtualship/expedition Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1616# from waypoint import Waypoint
1717
1818
19- class Schedule (pydantic .BaseModel ):
19+ class Schedule (pydantic .BaseModel ):
2020 """Schedule of the virtual ship."""
2121
2222 waypoints : list [Waypoint ]
@@ -50,10 +50,9 @@ def from_yaml(cls, file_path: str | Path) -> Schedule:
5050 data = yaml .safe_load (file )
5151 return Schedule (** data )
5252
53- if __name__ == "__main__" :
5453
54+ if __name__ == "__main__" :
5555 import sys
56- sys .path .append ('/home/iury/projects/active/virtualship/src/virtualship/src' )
57- from virtualship .expedition .schedule import Schedule
58-
5956
57+ sys .path .append ("/home/iury/projects/active/virtualship/src/virtualship/src" )
58+ from virtualship .expedition .schedule import Schedule
You can’t perform that action at this time.
0 commit comments