@classmethod
    def get_interaction_by_id(cls, interaction_id):
        if interaction_id not in cls._interactions:
            cls._refresh()
        return cls._interactions[interaction_id]
Gets an interaction by its id.
dataset/ETHPy150Open oppia/oppia/core/domain/interaction_registry.py/Registry.get_interaction_by_id