add_network

DbInventory.add_network(network)[source]

Add a new network to the database inventory.

Parameters

network (mss_dataserver.geometry.inventory.Network or DbNetwork) – The network to add to the database inventory.

Returns

The network added.

Return type

DbNetwork