code: def __init__(self, **kwargs):
      for key in kwargs:
          if key not in Opts.known_opts:
              raise RuntimeError(f"Unknown parameter for Opts: {key}")
          setattr(self, key, kwargs[key])
      for key, option in Opts.known_opts.items():
          if not hasattr(self, key):
              if option.required:
                  raise RuntimeError(
                      f"Required option {key} not specified"
                  )
              setattr(self, key, option.default)
  
imports: import argparse
  import copy
  import logging
  import os
  import platform
  import subprocess
  import sys
  import tempfile
  from typing import Dict
label_desc: Use image node_id 1 to create a new Opts object from inherited base classes: object with example: obj = Opts()