from dataclasses import dataclass


@dataclass
class ExportPresenter:
    renderer: object
    prefix: str

    def render(self, payload):
        return self.renderer.render(f"{self.prefix}:{payload}")