Forum Discussion
Docstrings from Custom Library not displaying in Notebook
- 1 year ago
Hello kwenzelmms
Ensure docstrings use triple-quoted strings immediately following function/class declarations
def my_function(param):
"""Display this docstring in Fabric Notebooks
Args:
param: Example parameter
"""
...Package libraries as `.whl` files with proper metadata in `setup.py`
Create dedicated Fabric environment
2. Add custom library through UI:
• Workspace > New > Environment > Add from PyPI/upload WHL
3. Publish environment before notebook use
4. Select environment in notebook toolbarIn notebook :
import importlib
importlib.reload(mylib)If this is helpful please accept the answer
Hi kwenzelmms,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.
Thank you.
Hi kwenzelmms,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.