Beispiel #1
0
 def _process(self):
     today = date.today()
     start_dt = datetime.combine(today, time(0, 0))
     end_dt = datetime.combine(today + timedelta(days=4), time(23, 59))
     return jsonify(get_room_details_availability(self.room, start_dt, end_dt))
Beispiel #2
0
 def _process(self):
     today = date.today()
     start_dt = datetime.combine(today, time(0, 0))
     end_dt = datetime.combine(today + timedelta(days=4), time(23, 59))
     return jsonify(get_room_details_availability(self.room, start_dt, end_dt))