#NEWLINE# def lookup_job( self , job_id ) : #NEWLINE# #INDENT# document = self . collection . find_one ( job_id , [ 'job_state' ] ) #NEWLINE# return ( self . _reconstitute_job ( document [ 'job_state' ] ) if document else None )