TicketBooking.select(TicketBooking, Ticket, TicketCategory, Event).join(Ticket
    ).join(TicketCategory).switch(Ticket).join(Event).where(TicketBooking.
    user_id == user_id, TicketBooking.deleted >> None)
Python peewee объединяет несколько таблиц