def METHOD_NAME(self, pillar_contents=None):
    if pillar_contents is None:
        pillar_contents = "minion_blackout: false"
    if pillar_contents.startswith("\n"):
        pillar_contents = pillar_contents[1:]
    pillar_contents = textwrap.dedent(pillar_contents)
    self.minion_1_pillar.write_text(pillar_contents)
    self.refresh_pillar(exiting_blackout=False)
    self.in_blackout = True
    return self.__enter__()