@classmethod
def dump(cls, data: dict) -> str:
    temp_file = StringIO()
    cls.yaml.dump(data, temp_file)
    return temp_file.getvalue()
@classmethod
def dump(cls, data: dict) -> str:
    temp_file = StringIO()
    cls.yaml.dump(data, temp_file)
    return temp_file.getvalue()