def pack(self):
        '''
        Make ApptRec json/msgpack-friendly
        '''
        reqdictf = {k.name.lower(): v for (k, v) in self.reqdict.items()}
        incunitf = None if self.incunit is None else self.incunit.name.lower()
        return (reqdictf, incunitf, self.incval)
def pack ( self ) : reqdictf = { k . name . lower ( ) : v for ( k , v ) in self . reqdict . items ( ) } incunitf = None if self . incunit is None else self . incunit . name . lower ( ) return ( reqdictf , incunitf , self . incval )
Make ApptRec json/msgpack-friendly