import * from ../my/relative/path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 12:33 AM
I have the following repository structure:
/Repos/main/MyRepo/
-> run (folder)
-> setup (folder)
-> src (folder)
-> main (notebook)
Now, starting from a notebook in the "src" folder I need to run/import all variables defined in all notebooks stored in "src/etl_notebooks" (e.g. /Repos/main/MyRepo/src/etl_notebooks/bronze_table_x).
How can I do that in a programmatic way (i.e. without typing the full notebook path by myself right into the notebook)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 02:36 AM
Hi Kaniz! Thank you for your reply - I appreciate your time and effort.
I tried the solution you suggested but incurred in the "Notebook not found" error (please see the attached image) because, I think, it is not possible to use * in the notebook path.
Again, from a notebook in the "src" folder (e.g. /src/etl_sql_query) I am trying to automatically import all notebooks stored in a "/src/etl_notebooks/" folder without typing each and every one of their path.