Skip to content

Commit c41e6d9

Browse files
committed
Make gendoc work temporarily
The way how llms_wrapper_webchat runs the command line parser on import conflicts with how pdoc3 imports modules for documenting them.
1 parent 809a502 commit c41e6d9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

llms_wrapper/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
from llms_wrapper.version import __version__
33
logger.disable("llms_wrapper")
44

5+
# prevent pdoc3 from loading llms_wrapper_webchat
6+
__pdoc__ = {}
7+
__pdoc__["llms_wrapper_webchat"] = False

0 commit comments

Comments
 (0)