def pretty_print(self, q):
    q.text('write_actions {')
    with q.group():
        with q.indent(2):
            q.breakable()
            q.text('actions = ')
            q.pp(self.actions)
        q.breakable()
    q.text('}')
def pretty_print(self, q):
    q.text('write_actions {')
    with q.group():
        with q.indent(2):
            q.breakable()
            q.text('actions = ')
            q.pp(self.actions)
        q.breakable()
    q.text('}')