gaps.hpc.COMMANDS#

class COMMANDS(SUBMIT, CANCEL)#

Bases: tuple

Create new instance of COMMANDS(SUBMIT, CANCEL)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

CANCEL

Alias for field number 1

SUBMIT

Alias for field number 0

CANCEL#

Alias for field number 1

SUBMIT#

Alias for field number 0

__add__(value, /)#

Return self+value.

__mul__(value, /)#

Return self*value.

count(value, /)#

Return number of occurrences of value.

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

Return first index of value.

Raises ValueError if the value is not present.