Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 01:30 AM
Hi,
How can I run non-Databricks notebook files in a repo?
For example, a .py file?
You can use any of the following:
- Bundle and deploy as a library on the cluster.
- Pip install the Git repository directly. This requires a credential in secrets manager.
- Use
- %run
- with inline code in a notebook.
- Use a custom container image. See Customize containers with Databricks Container Services.
You can refer to: https://docs.databricks.com/repos/limits.html and https://docs.databricks.com/repos/limits.html#non-notebook-files-files-in-repos
Also, refer to the errors: https://docs.databricks.com/repos/errors-troubleshooting.html
Please let us know if this helps and let us know the errors. Also, please tag @Debayan with your next comment so that I will get notified. Thank you!