code: def load(self, updates):
          
          # Go through in order and override the config (`.mbed_cloud_config.json` loader)
          for path in self.paths():
              if not path:
                  continue
              abs_path = os.path.abspath(os.path.expanduser(path))
              if not os.path.isfile(abs_path):
                  self._using_paths.append('missing: %s' % abs_path)
                  continue
              self._using_paths.append(' exists: %s' % abs_path)
              with open(abs_path) as fh:
                  self.update(json.load(fh))
  
          # New dotenv loader - requires explicit instructions to use current working directory
          load_dotenv(find_dotenv(usecwd=True))
  
          # Pluck config values out of the environment
          for env_var, key in {ENVVAR_API_HOST: 'host', ENVVAR_API_KEY: 'api_key'}.items():
              env_value = os.getenv(env_var)
              if env_value is not None:
                  self[key] = env_value
          if updates:
              self.update(updates)
          self.validate()
docs: Load configuration data