(job_params)
For the job, ensure that each param entry is not None.
For the job, ensure that each param entry is not None.
For the job ensure that each param entry is not None .
def ensure_job_params_are_complete(job_params):
  """For the job, ensure that each param entry is not None."""
  for param in [
      'labels', 'envs', 'inputs', 'outputs', 'mounts', 'input-recursives',
      'output-recursives'
  ]:
    if not job_params.get(param):
      job_params[param] = set()
def ensure_job_params_are_complete ( job_params ) : for param in [ 'labels' , 'envs' , 'inputs' , 'outputs' , 'mounts' , 'input-recursives' , 'output-recursives' ] : if not job_params . get ( param ) : job_params [ param ] = set ( )