title: How to send a list as parameter in databricks notebook task?
body: <p>I am using Databricks Resi API to create a job with notebook_task in an existing cluster and getting the job_id in return. 
  Then I am calling the run-now api to trigger the job. 
  In this step, I want to send a list as argument via the notebook_params, which throws an error saying "Expected non-array for field value". </p>
  
  <p>Is there any way I can send a list as an argument to the job?</p>
  
  <p>I have tried sending the list argument in base_params as well with same error.</p>
  
  <pre><code>user_json={
                                  "name": job_name,
                                  "existing_cluster_id": cluster_id,
                                  "notebook_task": {
                                                          "notebook_path": notebook_path
                                                      },
                                  "email_notifications":{
                                  "on_failure":[email_id]
                                  },
                                  "max_retries": 0,
                                  "timeout_seconds": 3600
                                                  }
  
  response=requests.post('https://&lt;databricks_uri&gt;/2.0/jobs/create',headers=head,json=user_json,timeout=5, verify=False)
  
  job_id=response.json()['job_id']
  
  json_job={"job_id":job_id,"notebook_params":{"name":"john doe","my_list":my_list}}
  
  response = requests.post('https://&lt;databricks_uri&gt;/2.0/jobs/run-now', headers=head, json=json_job, timeout=200, verify=False)
  </code></pre>