Update Code File
update_code_fileChange a code file's working revision, including its code, name, description, or signature types, in SAS Viya. Lock the revision first to preserve the current state before making changes.
Instructions
Change a code file's working revision: its code, name, description or signature types.
New code makes Viya read the signature again. Lock a revision first (lock_decisioning_asset_revision) to keep the current state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | New code. | |
| name | No | New name. | |
| folder | No | Only used for a code file that is in no folder yet. | |
| signature | No | Types and descriptions (needed for Python, see create_code_file). | |
| description | No | New description. | |
| code_file_id | Yes | The code file ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||