Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2022 12:46 AM
Hello @Jeremy Colson Thank you for reaching out to Databricks Community Forum.
Could you please give this a try if you already have a Repos linked in the workspace?
I think Engineering is working on some improvements on this front.
https://docs.databricks.com/repos/index.html
Below code snippet shows a simple example. You can implement your own logic and try to import it in the DLT pipeline.
import sys
import pprint
sys.path.append("/Workspace/Repos/arvind.ravish@databricks.com/arvindravish/dlt_import")
from my_file import myClass
newClass = myClass(5)
val = newClass.getVal()
print(val * 5)
Please provide your feedback so we can add any improvements to our product backlog.