I have created Python modules containing some Python functions and I would like to import them from a notebook contained in the Workspace.
For example, I have a "etl" directory, containing a "snapshot.py" file with some Python functions, and an empty "__init__.py" file as well. When working inside my repo in Databricks, the "from etl.snapshot import *" Python command works with no issue and I am able to call my functions. However, when running that same command from the Workspace, I get a "Module not found" error. I have tried to use the "sys.path.append()" approach as suggested in many forums or in multiple YouTube videos but this still does not work.
I am looking for a solution, as I would like to avoid using the %run command.
Thanks a lot in advance for your help,
Sacha