add_station

DbInventory.add_station(network_name, station_to_add)

Add a station to the inventory.

Parameters
  • network_name (str) – The name of the network to which to add the station.

  • station_to_add (Station) – The station to add to the inventory.

Returns

The station that has been added to the inventory.

Return type

Station