velofy/src/velofy/db/__init__.py
Alexander Hess 2b112f46e2
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m52s
Remove the no longer used engine and connection globals
Only `session` is used in the package.
Bound to the `engine`, it connects on its first query
instead of when the package is imported.
2026-11-30 14:03:26 +01:00

17 lines
679 B
Python

"""Provide the ORM models and a connection to the database."""
from velofy.db.addresses import Address
from velofy.db.addresses_addresses import Path
from velofy.db.addresses_pixels import AddressPixelAssociation
from velofy.db.cities import City
from velofy.db.connection import session
from velofy.db.couriers import Courier
from velofy.db.customers import Customer
from velofy.db.forecasts import Forecast
from velofy.db.grids import Grid
from velofy.db.meta import Base
from velofy.db.orders import Order
from velofy.db.pixels import Pixel
from velofy.db.replay import ReplayedOrder
from velofy.db.replay import ReplaySimulation
from velofy.db.restaurants import Restaurant