create_table_fare_defs

passengersim.database.tables.create_table_fare_defs(db: Database | Connection, fares: Iterable | None = None) → None[source]

Create and populate a static database table of fares.

The contents of this table is static input data, used but not mutated by the simulator.

Parameters:
db : Database or sqlite3.Connection

fares : Iterable[Fare]

The fares to store in the database.