pyca/db.py
def str(cls, value):
        '''Convert status (id) to its string name.'''
        for k, v in cls.__dict__.items():
            if k[0] in string.ascii_uppercase and v == value:
                return k.lower().replace('_', ' ')
def str(cls, value):
        '''Convert status (id) to its string name.'''
        for k, v in cls.__dict__.items():
            if k[0] in string.ascii_uppercase and v == value:
                return k.lower().replace('_', ' ')
def str ( cls , value ) : for k , v in cls . __dict__ . items ( ) : if k [ 0 ] in string . ascii_uppercase and v == value : return k . lower ( ) . replace ( '_' , ' ' )
Convert status (id) to its string name.
Convert status ( id ) to its string name .