Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2025 11:27 PM - edited 12-08-2025 11:34 PM
Hi
We have setup.py in my databricks workspace.
This script is executed in other transformation scripts using
%run /Workspace/Common/setup.pywhich consume lot of time.
This setup.py internally calls other utilities notebooks using %run
%run /Workspace/Common/01_Utilities.py
%run /Workspace/Common/02_Utilities.pyWe are trying to run setup.py. at cluster level. Currently shell files are allowed in init scripts.
Please help how we can execute this setup.py at cluster level and we can remove execution of this notebook in rest of notebooks.