IScriptSnapshots

class

IScriptSnapshots.

IScriptSnapshots

Bases: object

Scripting API for Machine Advisor Code Analysis snapshots.

create_snapshot_options

Creates the snapshot options.

Returns

The snapshot option.

store

snapshot_name

filename

Stores the Code Analysis snapshot to disk.

Parameters
  • snapshot_name (string) -- Name of the snapshot.

  • filename (string) -- The filename.

upload

snapshot_name

Uploads the snapshot to Code Analysis cloud.

Parameters

snapshot_name (string) -- Name of the snapshot.

Returns

Indicates if upload succeeded.

Return type

bool