AmsFileObject
Describes a locally installed .ams file, including its metadata, enabled state, and update information. Returned by amscript.get_script().
Attributes
Section titled “Attributes”| Attribute | Type | Description |
|---|---|---|
AmsFileObject.script_object_type | str | 'file' for locally installed scripts |
AmsFileObject.title | str | The title defined in the script |
AmsFileObject.author | str | The author defined in the script |
AmsFileObject.description | str | The description defined in the script |
AmsFileObject.file_name | str | The file name of the script |
AmsFileObject.path | str | The full file path of the script |
AmsFileObject.version | str | Script version defined in the script |
AmsFileObject.enabled | bool | Whether or not the script is enabled in auto-mcs |
AmsFileObject.update | dict | {'version': str, 'url': str, 'is_updating': bool} |
AmsFileObject.hash | bytes | Encoded identity derived from title, author, and version |