Python module import with Dedicated access mode

FedeRaimondi
Contributor II

I currently have a repo connected in databricks and I was able to correctly import a python module from src folder located in the same root.

Since I am using a Machine Learning runtime, I am force to choose a Dedicated (formerly: Single user) access mode. The module import works when I use directly my user, but if I change this into a group (to which I'm part of) then "src" module can't be find.

The weird thing is that when I run sys.path, I get the same exact list of paths.

So I am probably missing some knowledge of how the access works when using a ML runtime and assigning a group instead of a single user. Is there a way to import correctly the module?