PYTHON-4532 - Fix blank docs pages for generated modules (#1722)

This commit is contained in:
Noah Stapp 2024-06-27 15:19:47 -07:00 committed by GitHub
parent 26f7a9d2ca
commit 32a5933d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 14 additions and 0 deletions

View File

@ -15,7 +15,9 @@
"""Re-import of synchronous AuthOIDC API for compatibility."""
from __future__ import annotations
from pymongo.auth_oidc_shared import * # noqa: F403
from pymongo.synchronous.auth_oidc import * # noqa: F403
from pymongo.synchronous.auth_oidc import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["OIDCCallback", "OIDCCallbackContext", "OIDCCallbackResult", "OIDCIdPInfo"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.change_stream import * # noqa: F403
from pymongo.synchronous.change_stream import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["ChangeStream", "ClusterChangeStream", "CollectionChangeStream", "DatabaseChangeStream"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.client_session import * # noqa: F403
from pymongo.synchronous.client_session import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["ClientSession", "SessionOptions", "TransactionOptions"] # noqa: F405

View File

@ -19,3 +19,7 @@ from pymongo.synchronous.collection import * # noqa: F403
from pymongo.synchronous.collection import __doc__ as original_doc
__doc__ = original_doc
__all__ = [ # noqa: F405
"Collection",
"ReturnDocument",
]

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.command_cursor import * # noqa: F403
from pymongo.synchronous.command_cursor import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["CommandCursor", "RawBatchCommandCursor"] # noqa: F405

View File

@ -20,3 +20,4 @@ from pymongo.synchronous.cursor import * # noqa: F403
from pymongo.synchronous.cursor import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["Cursor", "CursorType", "RawBatchCursor"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.database import * # noqa: F403
from pymongo.synchronous.database import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["Database"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.encryption import * # noqa: F403
from pymongo.synchronous.encryption import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["Algorithm", "ClientEncryption", "QueryType", "RewrapManyDataKeyResult"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.mongo_client import * # noqa: F403
from pymongo.synchronous.mongo_client import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["MongoClient"] # noqa: F405

View File

@ -19,3 +19,4 @@ from pymongo.synchronous.pool import * # noqa: F403
from pymongo.synchronous.pool import __doc__ as original_doc
__doc__ = original_doc
__all__ = ["PoolOptions"] # noqa: F405