Skip to content

Commit f2747b9

Browse files
authored
INTPYTHON-625 Fix imports in docs build (#317)
1 parent f02e982 commit f2747b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bindings/python/docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13+
import os
14+
import sys
1315
from pathlib import Path
1416

17+
sys.path.insert(0, os.path.abspath("..")) # noqa: PTH100
18+
1519
# -- Project information -----------------------------------------------------
1620

1721
project = "PyMongoArrow"

0 commit comments

Comments
 (0)