Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/motor
/ functions
Functions
986 in github.com/mongodb/motor
⨍
Functions
986
◇
Types & classes
164
Method
cleanup
()
test/tornado_tests/test_motor_await.py:109
Method
client
The :class:`~MotorClient` this session was created from.
motor/core.py:540
Method
client
This MotorDatabase's :class:`MotorClient`.
motor/core.py:834
Method
client
(self)
synchro/__init__.py:474
Method
clone
Get a clone of this cursor.
motor/core.py:1781
Method
closed
(self, event)
doc/examples/monitoring_example.py:92
Method
closed
(self, event)
doc/examples/monitoring_example.py:116
Method
collection
(self)
synchro/__init__.py:618
Method
commit_with_retry
(session)
test/asyncio_tests/test_examples.py:1042
Method
conn_closed
()
test/tornado_tests/test_motor_cursor.py:448
Method
conn_closed
()
test/asyncio_tests/test_asyncio_cursor.py:495
Function
copy
(future)
motor/frameworks/asyncio/__init__.py:90
Function
copy
(_future)
motor/frameworks/tornado/__init__.py:94
Method
coro
(session)
test/tornado_tests/test_motor_transaction.py:54
Method
coro_raise_error
(_)
test/tornado_tests/test_motor_transaction.py:75
Function
coroutine
()
motor/frameworks/asyncio/__init__.py:39
Function
coroutine_annotation
In docs, annotate a function that returns a Future with 'coroutine'. This doesn't affect behavior.
motor/metaprogramming.py:112
Method
create_attribute
(self, cls, attr_name)
motor/motor_gridfs.py:58
Method
create_attribute
(self, cls, attr_name)
motor/metaprogramming.py:134
Method
create_attribute
(self, cls, attr_name)
motor/metaprogramming.py:199
Method
create_attribute
(self, cls, attr_name)
motor/metaprogramming.py:226
Method
create_attribute
(self, cls, attr_name)
motor/metaprogramming.py:252
Method
create_encrypted_collection
Create a collection with encryptedFields. .. warning:: This function does not update the encryptedFieldsMap in the client's
motor/core.py:2208
Method
create_module
(self, spec)
synchro/synchrotest.py:261
Method
custom_timeout
(self)
test/asyncio_tests/test_asyncio_tests.py:123
Method
decorate
(f)
test/test_environment.py:317
Method
default_timeout
(self)
test/asyncio_tests/test_asyncio_tests.py:115
Function
depart_mongodoc_node
(self, node)
doc/mongo_extensions.py:34
Function
depart_mongoref_node
(self, node)
doc/mongo_extensions.py:43
Method
description_changed
(self, event)
doc/examples/monitoring_example.py:82
Method
description_changed
(self, event)
doc/examples/monitoring_example.py:105
Function
do_insert
()
doc/examples/monitoring_example.py:66
Method
each
Iterates over all the documents for this cursor. :meth:`each` returns immediately, and `callback` is executed asynchronously for each
motor/core.py:1547
Method
emit
(self, record)
test/assert_logs_backport.py:30
Function
exc_handler
(loop, context)
test/asyncio_tests/__init__.py:207
Method
exec_module
(self, module)
synchro/synchrotest.py:258
Method
execute_transaction
(session: Any)
test/test_typing.py:209
Method
expected
(start, stop)
test/tornado_tests/test_motor_cursor.py:198
Method
expected
(start, stop)
test/asyncio_tests/test_asyncio_cursor.py:185
Function
expires
(response)
test/asyncio_tests/test_aiohttp_gridfs.py:42
Method
extras
(response, gridout)
test/asyncio_tests/test_aiohttp_gridfs.py:263
Method
failed
(self, event)
test/utils.py:93
Method
failed
(self, event)
test/asyncio_tests/test_asyncio_client.py:236
Method
failed
(self, event)
doc/examples/monitoring_example.py:43
Method
failed
(self, event)
doc/examples/monitoring_example.py:136
Method
fetch_next
(self, cursor)
test/asyncio_tests/__init__.py:167
Method
fetch_next
**DEPRECATED** - A Future used with `gen.coroutine`_ to asynchronously retrieve the next document in the result set, fetching a batch
motor/core.py:1450
Method
fget
(obj)
motor/motor_gridfs.py:59
Method
fget
(obj)
motor/metaprogramming.py:200
Method
find
Find and return the files collection documents that match ``filter``. Returns a cursor that iterates across files matching arbitrary
motor/motor_gridfs.py:433
Method
find_insert
()
test/asyncio_tests/test_asyncio_change_stream.py:285
Method
find_spec
(self, fullname, path, target=None)
synchro/synchrotest.py:242
Method
flush
(self)
test/assert_logs_backport.py:27
Method
from_client
(cls, client)
test/tornado_tests/__init__.py:147
Method
get_app
(self)
test/tornado_tests/test_motor_web.py:80
Method
get_app
(self)
test/tornado_tests/test_motor_web.py:197
Function
get_cache_time
Override to customize cache control behavior. Return a positive number of seconds to trigger aggressive caching or 0 to mark resource as cach
motor/aiohttp/__init__.py:67
Method
get_cache_time
(self, path, modified, mime_type)
test/tornado_tests/test_motor_web.py:204
Function
get_event_loop
()
motor/frameworks/tornado/__init__.py:40
Function
get_future
(loop)
motor/frameworks/asyncio/__init__.py:57
Function
get_future
(loop)
motor/frameworks/tornado/__init__.py:53
Function
get_gridfs_file
Override to choose a GridFS file to serve at a URL. By default, if a URL pattern like ``/fs/{filename}`` is mapped to this :class:`AIOHTTPGri
motor/aiohttp/__init__.py:34
Method
get_gridfs_file
(self, bucket, filename, request)
test/tornado_tests/test_motor_web.py:199
Method
get_io_loop
(self)
motor/core.py:373
Method
get_io_loop
(self)
motor/core.py:1380
Method
get_io_loop
(self)
motor/motor_gridfs.py:408
Method
get_keys
(self)
motor/core.py:2204
Function
get_motor_attr
If any Motor attributes can't be accessed, grab the equivalent PyMongo attribute. While we're at it, store some info about each attribute in t
doc/motor_extensions.py:120
Function
get_version_string
()
motor/_version.py:40
Method
getter
(bucket, filename, request)
test/asyncio_tests/test_aiohttp_gridfs.py:255
Function
gzip_header
(response, gridout)
doc/examples/aiohttp_gridfs_example.py:40
Method
handle_signature
(self, sig, signode)
doc/coroutine_annotation.py:7
Method
head
(self, path)
motor/web.py:169
Function
ignore_deprecations
(fn=None)
test/utils.py:50
Method
initialize
(self, database, root_collection="fs")
motor/web.py:57
Function
inner
(*args: Any, **kwargs: Any)
test/test_typing.py:62
Method
inner
()
motor/core.py:819
Method
inner
()
motor/core.py:1826
Method
insert_docs
()
test/asyncio_tests/test_examples.py:768
Method
io_loop
(self)
motor/core.py:175
Method
io_loop
(self)
motor/core.py:2183
Function
is_future
(f)
motor/frameworks/asyncio/__init__.py:125
Function
is_future
(f)
motor/frameworks/tornado/__init__.py:107
Method
lambda_handler
(event, context)
test/asyncio_tests/test_examples.py:1558
Method
list_indexes
Get a cursor over the index documents for this collection. :: async def print_indexes(): async for index in db.test.list_inde
motor/core.py:1332
Method
list_search_indexes
Return a cursor over search indexes for the current collection.
motor/core.py:1350
Method
make_wrapper
(f)
test/test_environment.py:305
Method
maybe_skip
(self)
test/tornado_tests/test_motor_cursor.py:540
Method
mock_kill_cursors
()
test/tornado_tests/test_motor_cursor.py:281
Method
motor_db
(self)
test/tornado_tests/test_motor_web.py:181
Method
next
Advance the cursor. .. versionadded:: 2.2
motor/core.py:1420
Method
next
Advance the cursor. This method blocks until the next change document is returned or an unrecoverable error is raised. This method is
motor/core.py:2013
Method
next
(self)
synchro/__init__.py:538
Method
next
(self)
synchro/__init__.py:647
Method
next_object
**DEPRECATED** - Get next GridOut object from cursor.
motor/motor_gridfs.py:40
Method
on_close
(self)
doc/examples/tornado_change_stream_example.py:47
Function
only_type_check
(func: FuncT)
test/test_typing.py:61
Method
open
(self)
doc/examples/tornado_change_stream_example.py:44
Method
opened
(self, event)
doc/examples/monitoring_example.py:79
Method
opened
(self, event)
doc/examples/monitoring_example.py:102
← previous
next →
401–500 of 986, ranked by callers