code: def reset_globals(version=None, loop=None):
      
      global containers
      global instruments
      global labware
      global robot
      global reset
      global modules
      global hardware
  
      robot, reset, instruments, containers, labware, modules, hardware\
          = build_globals(version, loop)
docs: Reinitialize the global singletons with a given API version.
  
      :param version: 1 or 2. If `None`, pulled from the `useProtocolApiV2`
                      advanced setting.