promote_variant
Make a variant the main script while preserving the old main in history.
Instructions
Make a variant the main script. The old main stays in history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move. | |
| variant | Yes | Variant id from get_session. |