nodes: 0, module; 1, function_definition; 2, function_name:remove_unique_identity; 3, parameters; 4, block; 5, identifier:cls; 6, identifier:sh_db; 7, identifier:uuid; 8, expression_statement; 9, expression_statement; 10, try_statement; 11, return_statement; 12, comment:"""Delete a unique identity from SortingHat.
  
          :param sh_db: SortingHat database
          :param uuid: Unique identity identifier
          """; 13, assignment; 14, block; 15, except_clause; 16, identifier:success; 17, identifier:success; 18, False; 19, expression_statement; 20, expression_statement; 21, expression_statement; 22, as_pattern; 23, block; 24, call; 25, call; 26, assignment; 27, identifier:Exception; 28, as_pattern_target; 29, expression_statement; 30, attribute; 31, argument_list; 32, attribute; 33, argument_list; 34, identifier:success; 35, True; 36, identifier:e; 37, call; 38, identifier:api; 39, identifier:delete_unique_identity; 40, identifier:sh_db; 41, identifier:uuid; 42, identifier:logger; 43, identifier:debug; 44, string:"Unique identity %s deleted"; 45, identifier:uuid; 46, attribute; 47, argument_list; 48, identifier:logger; 49, identifier:debug; 50, string:"Unique identity not deleted due to %s"; 51, call; 52, identifier:str; 53, argument_list; 54, identifier:e
code: def remove_unique_identity(cls, sh_db, uuid):
          """Delete a unique identity from SortingHat.
  
          :param sh_db: SortingHat database
          :param uuid: Unique identity identifier
          """
          success = False
          try:
              api.delete_unique_identity(sh_db, uuid)
              logger.debug("Unique identity %s deleted", uuid)
              success = True
          except Exception as e:
              logger.debug("Unique identity not deleted due to %s", str(e))
  
          return success