def map()

in message_flow/sagas/orchestration/saga_data_mapping.py [0:0]


    def map(self, class_name: str) -> Type[Any]:
        if (mapped_class := self._mapping.get(class_name)) is None:
            raise RuntimeError(f"No mapping for class {class_name}")

        return mapped_class