def METHOD_NAME(self, wflowName):
    """
    Given a request name, it fetches data from ReqMgr2 and returns
    the request priority
    :param wflowName: string with the request name
    :return: integer with the request priority
    """
    result = None
    try:
        result = self.reqmgr2.getRequestByNames(wflowName)[0]
        result = int(result[wflowName]['RequestPriority'])
    except Exception as ex:
        logging.error("Couldn't retrieve the priority of request %s", wflowName)
        logging.error("Error: %s", str(ex))
    return result