util.reservations.all
Return a list of single resource reservations or requests from the context. If the reservation or request is only for a single resource, it returns a list of the single reservation. Useful for making a script apply to single or multi-resource situations.
Note
This function is only for use in reservation scripts that provide a reservation as context. Refer to the reservations.fetch() API function for general reservation access.
Arguments:
def util.reservations.all():
Returns list
of reservation or request dict
s.
Example:
single_resource_reservations = util.reservations.all()