set_statetree_schema
Update a StateTree asset's schema by specifying a new schema class, which changes its behavior but may invalidate existing nodes.
Instructions
Change the schema of a StateTree. Warning: existing nodes may become invalid.
Args: asset_path: Content path to the StateTree asset schema_class: Schema class name (e.g. "MassStateTreeSchema")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | ||
| schema_class | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |