dbx sync dbfs to user workspace #486
-
When using In order to get around this, I thought one would be able to use the dbfs sync to rather sync the local repo to a folder in the user's workspace. Thus leaving the repo to be used as normal. This is especially helpful if you are busy on a new feature in a repo, but then might need to review another feature also in the same repo. The folder in the Workspace can be synced to the local changes for the new feature, and the repo can be used to review the other feature. However, when syncing using the dbfs option, the local code is always synced the dbfs file system and not the user's workspace. Am I misunderstanding the use the dbfs sync option, or is there an option to use this option to sync to a folder in the user's workspace?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't open a notebook from dbfs but you can import code from there. The original PR explains how: import sys
if "/tmp/users/first.last/my-repo" not in sys.path:
sys.path.insert(0, "/tmp/users/first.last/my-repo") See #239 for more details. |
Beta Was this translation helpful? Give feedback.
You can't open a notebook from dbfs but you can import code from there.
The original PR explains how:
See #239 for more details.