Class ReservationUsage (2.31.0)

ReservationUsage(name, slot_ms)

Job resource usage for a reservation.

Inheritance

builtins.object > builtins.tuple > ReservationUsage

Methods

ReservationUsage

ReservationUsage(name, slot_ms)

Create new instance of ReservationUsage(name, slot_ms)

count

count(value, /)

Return number of occurrences of value.

index

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.