-
Notifications
You must be signed in to change notification settings - Fork 0
Step1 filter out "Trivial" policy items #15
Copy link
Copy link
Open
Description
When the API already enforce this by its data structure.
example:
{
"name": "Same Flight and Cabin for All Passengers",
"description": "All passengers in a reservation must fly the same flights in the same cabin when booking.",
"references": [
"All passengers must fly the same flights in the same cabin."
],
}
API:
def book_reservation(
self,
user_id: str,
origin: str,
destination: str,
flight_type: FlightType,
cabin: CabinClass,
flights: List[FlightInfo | dict],
**passengers: List[Passenger | dict],**
payment_methods: List[Payment | dict],
total_baggages: int,
nonfree_baggages: int,
insurance: Insurance,
) -> Reservation:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels