diff --git a/src/velofy/db/restaurants.py b/src/velofy/db/restaurants.py index 733006d..5f7acbc 100644 --- a/src/velofy/db/restaurants.py +++ b/src/velofy/db/restaurants.py @@ -62,8 +62,11 @@ class Restaurant(meta.Base): ) # Relationships - address = orm.relationship("Address", back_populates="restaurants") - orders = orm.relationship( + address: orm.Mapped[db.Address] = orm.relationship( + "Address", + back_populates="restaurants", + ) + orders: orm.Mapped[list[db.Order]] = orm.relationship( "Order", back_populates="restaurant", overlaps="orders_picked_up,pickup_address",