Hi Karthik_p thanks for the reply
If i specify the extension poc_template_job_script.py, I get the same error. In the setup it asks to omit the extension which results in my initial post. And i agree that it should work if i specified the extension if you look at the documentation:
Supported notebook formats
Databricks can import and export notebooks in the following formats:
Source file: A file containing only source code statements with the extension .scala, .py, .sql, or .r.
But somehow it still does not recognize poc_template_job_script.py as a databricks notebook.
I also tried to add: "# Databricks notebook source" in the top of the file as specified in the comments also:
Import a file and convert it to a notebook
You can convert Python, SQL, Scala, and R scripts to single-cell notebooks by adding a comment to the first cell of the file:
# Databricks notebook source