#NEWLINE# def job_create( self , context , values ) : #NEWLINE# #INDENT# 'Create a Job from the values dictionary.' #NEWLINE# values = copy . deepcopy ( self ) #NEWLINE# values = _apply_defaults ( values , JOB_DEFAULTS ) #NEWLINE# values [ 'tenant_id' ] = context . tenant_id #NEWLINE# return self . db . job_create ( context , values )