<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_snapshot_command_history(self, name, limit=20, offset=0, view=None):
 """ Retrieve a list of commands triggered by a snapshot policy. @param name: The name of the snapshot policy. @param limit: Maximum number of commands to retrieve. @param offset: Index of first command to retrieve. @param view: View to materialize. Valid values are 'full', 'summary', 'export', 'export_redacted'. @return: List of commands triggered by a snapshot policy. @since: API v6 """

    params = {
      'limit':  limit,
      'offset': offset,
    }
    if view:
      params['view'] = view

    return self._get("snapshots/policies/%s/history" % name, ApiSnapshotCommand, True,
        params=params, api_version=6)