velofy/src/urban_meal_delivery/db
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Hess 2d08afa309
Upgrade sqlalchemy
Adapt code to prevent new warnings and errors (as of SQLAlchemy 1.4):
- Overlapping foreign key columns could be set in a conflicting way
  => This is prevented by the application logic
  => Ignore the warning by setting a `overlaps` flag
- Transaction already rolled back
  => This only happens when tests cause an `IntegrityError` on purpose
  => Filter away the corresponding warning in the fixture
- Query returns `Row` objects and not scalars
  => Add genexpr to pull out `primary_id`
2021-09-12 16:52:51 +02:00
..
utils Solve all issues detected by PyCharm 2021-09-12 16:51:12 +02:00
__init__.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
addresses.py Upgrade sqlalchemy 2021-09-12 16:52:51 +02:00
addresses_addresses.py Upgrade sqlalchemy 2021-09-12 16:52:51 +02:00
addresses_pixels.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
cities.py Remove flake8-expression-complexity ... 2021-09-12 16:52:44 +02:00
connection.py Add CLI script to gridify all cities 2021-01-06 16:17:05 +01:00
couriers.py Re-factor the ORM tests to use randomized fake data 2020-12-29 15:40:32 +01:00
customers.py Upgrade sqlalchemy 2021-09-12 16:52:51 +02:00
forecasts.py Solve all issues detected by PyCharm 2021-09-12 16:51:12 +02:00
grids.py Remove flake8-expression-complexity ... 2021-09-12 16:52:44 +02:00
meta.py Add an ORM layer 2020-08-11 10:28:17 +02:00
orders.py Make Grid.gridify() use only pickup addresses 2021-01-24 19:04:39 +01:00
pixels.py Remove flake8-expression-complexity ... 2021-09-12 16:52:44 +02:00
restaurants.py Upgrade sqlalchemy 2021-09-12 16:52:51 +02:00