code: def get_asm_uids(taxon_uid):
      
      query = "txid%s[Organism:exp]" % taxon_uid
      logger.info("Entrez ESearch with query: %s", query)
  
      # Perform initial search for assembly UIDs with taxon ID as query.
      # Use NCBI history for the search.
      handle = entrez_retry(
          Entrez.esearch,
          db="assembly",
          term=query,
          format="xml",
          usehistory="y")
      record = Entrez.read(handle, validate=False)
      result_count = int(record['Count'])
      logger.info("Entrez ESearch returns %d assembly IDs", result_count)
  
      # Recover assembly UIDs from the web history
      asm_ids = entrez_batch_webhistory(
          record, result_count, 250, db="assembly", retmode="xml")
      logger.info("Identified %d unique assemblies", len(asm_ids))
      return asm_ids
docs: Returns a set of NCBI UIDs associated with the passed taxon.
  
      This query at NCBI returns all assemblies for the taxon subtree
      rooted at the passed taxon_uid.