# Managed spell settings and transfer **🟡 Intermediate · Lesson 48** Change a pool's settings and hand a pool to another root (dynamic mode). A managed spell's mode, limit, queue timeout and reset methods are SETTINGS of the spell, not part of its spell_id. To change them, cleanup_spell the spell and bind it again: the spell_id stays the same, and so does its pool - every object alive stays alive and counted, and the pool takes the new settings. An ownership transfer moves the spell to another root, and the pool goes with it, idle objects included. The new owner leases from it; releases keep routing by class, so holders change nothing. ## Before you run Use the [Intermediate guide](../../intermediate/index.md) for prerequisite concepts. Run from a checkout with Melder installed and Python 3.14 free-threading selected. The collection download includes the level's local helper modules. ## Run the saved script ```bash python UX_and_AIX_experiences/02_intermediate/48_managed_spell_settings_and_transfer.py ``` ```powershell py -3.14t UX_and_AIX_experiences/02_intermediate/48_managed_spell_settings_and_transfer.py ``` {download}`Download this collection <../../downloads/intermediate-examples.zip>` · [Source on GitHub](https://github.com/Synaptic724/melder/blob/4b364a338debcb1c010d0f6e9dcbbabb62945ba0/UX_and_AIX_experiences/02_intermediate/48_managed_spell_settings_and_transfer.py) ## Public surface md.Spellbook.conjure(dynamic=True), md.Conduit.bind (managed options), md.Conduit.cleanup_spell, md.Conduit.get_spell_by_spell_id, md.Conduit.link, md.Conduit.transfer_spell_ownership, md.ManagedSpellExhaustedError, md.ReleaseManagedSpell (release, release_all, describe), md.Conduit.cleanup ## Code ```{literalinclude} ../../downloads/02_intermediate/48_managed_spell_settings_and_transfer.py :language: python :linenos: ``` ## Check the outcome The script contains its own assertions or demonstrated refusal paths. Run it to evaluate those checks against your installed version. The code above is taken directly from the saved file; no run output is invented here. [More intermediate examples](index.md) · [Level guide](../../intermediate/index.md) ## Related guides - [Managed spell pools](../../intermediate/managed-spells.md) ## API contracts - [Spellbook](../../reference/api/binding/spellbook.md) - [Conduit](../../reference/api/resolution/conduit.md) - [ReleaseManagedSpell](../../reference/api/resolution/releasemanagedspell.md) - [ManagedSpellExhaustedError](../../reference/api/errors/managedspellexhaustederror.md)