rajeev_thakur_c
Databricks Employee
Databricks Employee

Hi there, the documentation is not up-to-date, you should be able to create such a task with 

namedParameters instead of parameters

. Here is a small example:

{

 "name": "test_entry_point",

 "tasks": [

  {

   "task_key": "test_entry_point",

   "description": "test_entry_point",

   "existing_cluster_id": "an-interactive-cluster-that-I-should-probably-not-use",

   "python_wheel_task": {

    "package_name": "my_package_name",

    "entry_point": "my_entry_point",

    "named_parameters": {

     "param-1": "TODO",

     "param-2": "TODO"

    }

   },

   "libraries": [

    {

     "whl": "dbfs:/TODO"

    }

   ]

  }

 ]

}

I am flagging the fact that the doc is not up-to-date. We will update it soon.

View solution in original post