def show_status(self, status):
        """
        Get a specific status

        :type status: str
        :param status: Status to show

        :rtype: dict
        :return: A dictionnary containing status description
        """
        statuses = self.get_statuses()
        statuses = [x for x in statuses if x['value'] == status]
        if len(statuses) == 0:
            raise Exception("Unknown status value")
        else:
            return statuses[0]
def show_status ( self , status ) : statuses = self . get_statuses ( ) statuses = [ x for x in statuses if x [ 'value' ] == status ] if len ( statuses ) == 0 : raise Exception ( "Unknown status value" ) else : return statuses [ 0 ]
Get a specific status

        :type status: str
        :param status: Status to show

        :rtype: dict
        :return: A dictionnary containing status description