velofy/tests/db
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Hess 53e1859ee8
Query with select() in Grid and Path
`Session.query()` is the legacy API in SQLAlchemy 2.x.

Unlike `Query`, `select()` does not deduplicate single entities from a `JOIN`;
so, `Grid.gridify()` calls `.unique()` explicitly.

The `addresses_mock` fixtures mock the new call chain.
2026-12-01 23:29:39 +01:00
..
fake_data Generate the fake coordinates as floats 2026-12-01 15:27:53 +01:00
replay Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
utils Enable "warn_unreachable" 2026-12-01 13:07:53 +01:00
__init__.py Add an ORM layer 2020-08-11 10:28:17 +02:00
test_addresses.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_addresses_addresses.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_addresses_pixels.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_cities.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_couriers.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_customer.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_forecasts.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_grids.py Query with select() in Grid and Path 2026-12-01 23:29:39 +01:00
test_orders.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_pixels.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00
test_restaurants.py Count rows with select() in the tests 2026-12-01 23:17:57 +01:00