示例#1
0
def get_all() -> Tuple[List[Any], HttpStatusCode]:
    return [reservation.as_dict() for reservation in Reservation.all()], 200
示例#2
0
def get_all():
    return [
        reservation.as_dict for reservation in Reservation.all()
    ], 200