Forum Discussion
Intellisense for custom Python packages not working in Fabric notebooks
- 1 year ago
Hi HoneHealthMB,
We apologize for the inconvenience caused. Please consider raising a Microsoft support ticket for further investigation. You can explain all the troubleshooting steps you have taken to help them better understand the issue.
You can create a Microsoft support ticket with the help of the link below:
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticketIf this helps, please "Accept as solution" and drop a "Kudos" so other members can find it more easily.
Thank you.
I have an update that I hope helps.
I decided to simplify this as much as possible and found that the error is almost definitely a bug in the Fabric notebook UI.
After extensive comparisons between my library and others - it is clear that there is no ryhme or reason as to what makes it work or not. I created a blank notebook in a default environment, with no customizations.
I did a pip install of my module. No docstrings are rendered, and half of the time it isn't even correctly identifying what is a "class" and what is an "Any" type - even at the module level. It has this same problem with the azure libraries.
I then went to the Google Colab notebook tools, and repeated the same process. All docstrings are rendered perfectly, without issue, without any extra steps. That is even true of the azure libraries themselves.
I think at this point, if Google Colab is better at recognizing Microsoft's intellisense than its own editor - we can say with a fair amount of certainty that there is a legitimate bug somewhere. My guess is that it is in how it is caching and what not - but even if I eradicate my local cache - it makes no difference.
Both Google Colab and the Fabric notebooks use the monaco code editor FYI.
Do we have enough info at this point to escalate to someone at MS?
Hi HoneHealthMB,
We apologize for the inconvenience caused. Please consider raising a Microsoft support ticket for further investigation. You can explain all the troubleshooting steps you have taken to help them better understand the issue.
You can create a Microsoft support ticket with the help of the link below:
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
If this helps, please "Accept as solution" and drop a "Kudos" so other members can find it more easily.
Thank you.