Select your language

Index Of 2 States | |top|

Index Of 2 States | |top|

In technical contexts, "index" and "states" may refer to different features depending on the platform: Kubernetes Indexed Jobs Kubernetes Indexed Job

def find_all_with_state(self, state=1): """Return list of indices where state matches""" indices = [] for i in range(self.size): if self.get_state(i) == state: indices.append(i) return indices index of 2 states