persist

topleveltools.persist(expr)

Persists expr.

>>> staff = Staff("c'4 e'4 d'4 f'4")
>>> show(staff) 
>>> persist(staff)
PersistenceAgent(client=Staff("c'4 e'4 d'4 f'4"))

Returns score mutation agent.