code: def __init__(
      self,
      name,
      commit_cmd,
      commit_pattern,
      commit_ok_errors,
      status_cmd,
      status_pattern,
      status_ok_errors,
  ):
      self.name = name
      self.commit_cmd = commit_cmd
      self.commit_pattern = commit_pattern
      self.commit_ok_errors = commit_ok_errors
      self.status_cmd = status_cmd
      self.status_pattern = status_pattern
      self.status_ok_errors = status_ok_errors
  
imports: import collections
  import logging
  import re
  import os
  import subprocess
  from guild import config
  from guild import file_util
  from guild import util
  from guild.file_util import FileSelectRule
label_desc: Use image node_id 1 to create a new Scheme object  with example: obj = Scheme(name, commit_cmd, commit_pattern, commit_ok_errors, status_cmd, status_pattern, status_ok_errors)