Hubert-Dudek
Databricks MVP

Please use Repos and in admin settings please enable "Files in Repo" than you will be able to import class in notebook:

from repo_folder.subfolders.file import your_class


My blog: https://databrickster.medium.com/