Closed jp-vanheerden closed 2 months ago
I tried to test but could not get access into DEVOps for Demo org for grant.krieger@insight.com. Tulp was away
A new method has been added in utils.py called IPYNBtoFabricPYFileAndGitStructure where the bulk of the coding has been done.
The process looks at the output files in
In Fabric update new notebooks. There is a work around where you need to disconnect git in Fabric workspace and re-connect to new directory to sync new notebooks otherwise you get a "Git integration error 'No files to commit'". This has been logged https://community.fabric.microsoft.com/t5/Issues/Git-integration-error-No-files-to-commit-after-add-new-notebook/idi-p/4035845#M108345
I've tested the change #24 in the feature branch, which resulted in Python files being generated under the 'notebooks_fabric_py_git' folder. However, I couldn't verify the synchronization with devops-fabric-git due to permissions limitations using my fabric profile. I discussed this with Grant and confirmed the results on his system.
Note: Updated work around steps: Disconnect repo Delete all newly added files in repo only folder (Do not delete all files only delete new files) Then reconnect to repo same repo folder and all good
Another new method has been added in utils.py called IPYNBtoFabricPYFile where the bulk of the coding has been done.
The process looks at the output files in /target/notebooks and converts to /target/notebooks_fabric_py. This structure is ready to be uploaded into a fabric API.
APIUpsertNotebooks has also been added which easily updates notebooks directly to the API end point
Aligned to Dev branch and John's latest changes for pip install
This is covered by api update. File structure has been utilized for that
Framework generates .ipynb files that can be imported into Fabric, but when these files are version controlled the are saved as .py files in a folder:
Ideally I'd like the process to be:
If this isn't possible, preference would be to (manually) import notebook into Fabric rather than import via lakehouse