Why am I getting a FileNotFoundError after providing the file path?

Ank
New Contributor II

I used copy file path to get the file path of the notebook I am trying to run from another notebook.

file_path = "/Users/ankur.lohiya@workday.com/PAS/Training/Ingest/TrainingQueries-Cloned.py/"

ddi = DatabricksDataIngestion(file_path=file_path,

               save_path=save_path,

               conn=conn,

               database_name=database_name,

               spark=spark)

dfs_dict = ddi.get_sql_queries()

However, when I run this function, it gives me a filenotfounderror. Why is it giving me this error?