def get_availability_successors(self, some_state):
        if some_state and "_" in some_state:
            raise BadRequest("Compound lcstates are obsolete")
        return {evt: targ for (src, evt), targ in self.availability_transitions.iteritems() if src == some_state}
For a given state, return a dict of possible transition events => successor states
dataset/ETHPy150Open ooici/pyon/pyon/ion/resource.py/ResourceLifeCycleSM.get_availability_successors