def get_availability_predecessors(self, some_state):
        if some_state and "_" in some_state:
            raise BadRequest("Compound lcstates are obsolete")
        return {src: evt for (src, evt), targ in self.availability_transitions.iteritems() if targ == some_state}


# -----------------------------------------------------------------------------
# Extended resource framework
The process' returncode; accessing this property will wait for the process to finish
dataset/ETHPy150Open ooici/pyon/pyon/ion/resource.py/ResourceLifeCycleSM.get_availability_predecessors--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/commands/modifiers.py/Future.returncode