ICapTravel.iter_station_departures can take an optional 'arival_station' argument
This commit is contained in:
parent
825aa80df6
commit
0f92967357
4 changed files with 13 additions and 8 deletions
|
|
@ -30,11 +30,12 @@ class ICapTravel:
|
|||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def iter_station_departures(self, station_id):
|
||||
def iter_station_departures(self, station_id, arrival_id):
|
||||
"""
|
||||
Iterate on departures.
|
||||
|
||||
@param station_id [id] the station id
|
||||
@param arrival_id [id] optionnal arrival station id
|
||||
@return [iter] result of Departure objects
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue