From 4abe31a86453b6151153966e7a0706efd3317043 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Fri, 23 May 2025 19:55:57 -0400 Subject: [PATCH] INTPYTHON-625 Fix imports --- bindings/python/docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/docs/conf.py b/bindings/python/docs/conf.py index a746a7ec..64338732 100644 --- a/bindings/python/docs/conf.py +++ b/bindings/python/docs/conf.py @@ -10,8 +10,12 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # +import os +import sys from pathlib import Path +sys.path.insert(0, os.path.abspath("..")) # noqa: PTH100 + # -- Project information ----------------------------------------------------- project = "PyMongoArrow"