def _extract_bookings_information_from_bookings_list(bookings: list[Booking]) -> list[dict]:
    bookings_info = []
    for booking in bookings:
        stock = booking.stock
        offer = stock.offer
        bookings_info.append({'offer_name': offer.name, 'venue_name': (offer.venue.publicName if offer.venue.publicName else offer.venue.name)})
    return bookings_info
def _extract_bookings_information_from_bookings_list(bookings: list[Booking]) -> list[dict]:
    bookings_info = []
    for booking in bookings:
        stock = booking.stock
        offer = stock.offer
        bookings_info.append({'offer_name': offer.name, 'venue_name': (offer.venue.publicName if offer.venue.publicName else offer.venue.name)})
    return bookings_info