#NEWLINE# def populate_property_name_choices( self , request , context ) : #NEWLINE# #INDENT# job_id = ( request . REQUEST . get ( 'job_id' ) or request . REQUEST . get ( 'job' ) ) #NEWLINE# job_type = saharaclient . job_get ( request , job_id ) . type #NEWLINE# job_configs = saharaclient . job_get_configs ( request , job_type ) . job_config #NEWLINE# choices = [ ( param [ 'value' ] , param [ 'name' ] ) for param in job_configs [ 'configs' ] ] #NEWLINE# return choices