code: def load_agency_profile(cls, source):
          '''
          Classmethod loading metadata on a data provider. ``source`` must
          be a json-formated string or file-like object describing one or more data providers
          (URL of the SDMX web API, resource types etc.
          The dict ``Request._agencies`` is updated with the metadata from the
          source.
  
          Returns None
          '''
          if not isinstance(source, str_type):
              # so it must be a text file
              source = source.read()
          new_agencies = json.loads(source)
          cls._agencies.update(new_agenciesf load_agency_profile(cls, source):
          '''
          Classmethod loading metadata on a data provider. ``source`` must
          be a json-formated string or file-like object describing one or more data providers
          (URL of the SDMX web API, resource types etc.
          The dict ``Request._agencies`` is updated with the metadata from the
          source.
  
          Returns None
          '''
          if not isinstance(source, str_type):
              # so it must be a text file
              source = source.read()
          new_agencies = json.loads(source)
          cls._agencies.update(new_agencies)
docs: Classmethod loading metadata on a data provider. ``source`` must
          be a json-formated string or file-like object describing one or more data providers
          (URL of the SDMX web API, resource types etc.
          The dict ``Request._agencies`` is updated with the metadata from the
          source.
  
          Returns None