text: from fastapi import Request
  
  from servicelayer.unitofwork.interface import UnitOfWorkInterface
  from servicelayer.unitofwork.sqlalchemy import RestaurantUnitOfWork
  
  
  def uow_provider(request: Request) -> UnitOfWorkInterface:
      ...
  
  
  def get_uow(request: Request) -> RestaurantUnitOfWork:
      return RestaurantUnitOfWork(request.app.state.sessionmaker)
  