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,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.