Removed unused imports
This commit is contained in:
parent
3f738f453b
commit
23527c85f3
@ -3,7 +3,6 @@ from typing import Union
|
|||||||
from pyrmv.classes.Board import BoardArrival
|
from pyrmv.classes.Board import BoardArrival
|
||||||
from pyrmv.classes.Stop import Stop, StopTrip
|
from pyrmv.classes.Stop import Stop, StopTrip
|
||||||
from pyrmv.enums.board_type import BoardArrivalType
|
from pyrmv.enums.board_type import BoardArrivalType
|
||||||
from pyrmv.errors.not_ready import NotReadyYetError
|
|
||||||
from pyrmv.raw import board_arrival as raw_board_arrival
|
from pyrmv.raw import board_arrival as raw_board_arrival
|
||||||
from pyrmv.utility.find_exception import find_exception
|
from pyrmv.utility.find_exception import find_exception
|
||||||
|
|
||||||
@ -69,5 +68,4 @@ def board_arrival(
|
|||||||
|
|
||||||
find_exception(board_raw)
|
find_exception(board_raw)
|
||||||
|
|
||||||
# raise NotReadyYetError()
|
|
||||||
return BoardArrival(board_raw, access_id)
|
return BoardArrival(board_raw, access_id)
|
@ -3,7 +3,6 @@ from typing import Union
|
|||||||
from pyrmv.classes.Board import BoardDeparture
|
from pyrmv.classes.Board import BoardDeparture
|
||||||
from pyrmv.classes.Stop import Stop, StopTrip
|
from pyrmv.classes.Stop import Stop, StopTrip
|
||||||
from pyrmv.enums.board_type import BoardDepartureType
|
from pyrmv.enums.board_type import BoardDepartureType
|
||||||
from pyrmv.errors.not_ready import NotReadyYetError
|
|
||||||
from pyrmv.raw import board_departure as raw_board_departure
|
from pyrmv.raw import board_departure as raw_board_departure
|
||||||
from pyrmv.utility.find_exception import find_exception
|
from pyrmv.utility.find_exception import find_exception
|
||||||
|
|
||||||
@ -69,5 +68,4 @@ def board_departure(
|
|||||||
|
|
||||||
find_exception(board_raw)
|
find_exception(board_raw)
|
||||||
|
|
||||||
# raise NotReadyYetError()
|
|
||||||
return BoardDeparture(board_raw, access_id)
|
return BoardDeparture(board_raw, access_id)
|
Loading…
Reference in New Issue
Block a user