parameter to specify kernel name
"output_path = \"/data/amandeep\"\n",
"project_name = \"create-wikidata-dwd\"\n",
"\n",
- "kgtk_path = \"/data/amandeep/Github/kgtk\""
+ "kgtk_path = \"/data/amandeep/Github/kgtk\"\n",
+ "kernel_name = \"kgtk-env-ckg07\""
]
},
{
"pm.execute_notebook(\n",
" \"import-wikidata.ipynb\",\n",
" os.environ[\"TEMP\"] + \"/import-wikidata.out.ipynb\",\n",
+ " kernel_name=kernel_name,\n",
" parameters=dict(\n",
" input_path = json_file_path,\n",
" output_path = import_wikidata_path,\n",
"pm.execute_notebook(\n",
" \"Wikidata-Useful-Files.ipynb\",\n",
" os.environ[\"TEMP\"] + \"/Wikidata-Useful-Files.out.ipynb\",\n",
+ " kernel_name=kernel_name,\n",
" parameters=dict(\n",
" input_path = first_useful_files_input_path,\n",
" output_path = first_useful_files_output_path,\n",
"pm.execute_notebook(\n",
" \"Wikidata-Subsets.ipynb\",\n",
" os.environ[\"TEMP\"] + \"/Wikidata-Subsets.out.ipynb\",\n",
+ " kernel_name=kernel_name,\n",
" parameters=dict(\n",
" input_path = subset_input_path,\n",
" output_path = subset_output_path,\n",
