@@ -2104,7 +2104,7 @@ async def _async_get_collection(self):
21042104 return await get_async_collection (collection_name , alias )
21052105
21062106 async def _async_cursor (self ):
2107- """Return an AsyncIOMotor cursor object for this queryset."""
2107+ """Return an async cursor object for this queryset."""
21082108 # Note: Unlike sync version, we can't cache async cursors as easily
21092109 # because they need to be created in async context
21102110 from mongoengine .connection import DEFAULT_CONNECTION_NAME
@@ -2178,7 +2178,7 @@ async def async_first(self):
21782178 finally :
21792179 # Close cursor to free resources
21802180 if hasattr (cursor , "close" ):
2181- # For AsyncIOMotor cursor, close() is a coroutine
2181+ # For async cursor, close() is a coroutine
21822182 import asyncio
21832183
21842184 if asyncio .iscoroutinefunction (cursor .close ):
@@ -2414,8 +2414,8 @@ async def async_insert(
24142414 :param load_bulk (optional): If True returns the list of document
24152415 instances
24162416 :param write_concern: Extra keyword arguments are passed down to
2417- :meth:`~motor.motor_asyncio.AsyncIOMotorCollection .insert_one`
2418- or :meth:`~motor.motor_asyncio.AsyncIOMotorCollection .insert_many`
2417+ :meth:`~pymongo.asynchronous.collection.AsyncCollection .insert_one`
2418+ or :meth:`~pymongo.asynchronous.collection.AsyncCollection .insert_many`
24192419 which will be used as options for the resultant
24202420 ``getLastError`` command. For example,
24212421 ``insert(..., {w: 2, fsync: True})`` will wait until at least
0 commit comments