MCPcopy Create free account

hub / github.com/mongodb/motor / functions

Functions986 in github.com/mongodb/motor

↓ 148 callersMethodfind
Create a :class:`MotorCursor`. Same parameters as for PyMongo's :meth:`~pymongo.collection.Collection.find`. Note that ``find`` does
motor/core.py:993
↓ 92 callersMethodclose
Explicitly kill this cursor on the server. Call like:: await cursor.close()
motor/core.py:1723
↓ 74 callersMethodto_list
(collection)
test/asyncio_tests/test_asyncio_cursor.py:268
↓ 49 callersMethodnext_object
**DEPRECATED** - Get a document from the most recently fetched batch, or ``None``. See :attr:`fetch_next`. The :meth:`next_object` me
motor/core.py:1524
↓ 45 callersMethodwatch
Watch changes on this cluster. Returns a :class:`~MotorChangeStream` cursor which iterates over changes on all databases in this clus
motor/core.py:183
↓ 34 callersFunctioncreate_class_with_framework
(cls: T, framework: Any, module_name: str)
motor/metaprogramming.py:272
↓ 33 callersMethodget
(self, path, **kwargs)
test/asyncio_tests/test_aiohttp_gridfs.py:117
↓ 32 callersFunctioncount
(cursor)
test/asyncio_tests/test_examples.py:42
↓ 31 callersMethodasyncio_client
Get an AsyncIOMotorClient. Ignores self.ssl, you must pass 'ssl' argument.
test/asyncio_tests/__init__.py:113
↓ 31 callersMethodnext
(self)
synchro/__init__.py:608
↓ 24 callersMethodwrite
(self, data: Any)
test/__init__.py:41
↓ 22 callersFunctionattrs
(klass)
test/tornado_tests/test_motor_core.py:26
↓ 22 callersMethodbatch_size
(self, batch_size)
motor/core.py:1735
↓ 20 callersMethodmotor_client
Get a MotorClient. Ignores self.ssl, you must pass 'ssl' argument. You'll probably need to close the client to avoid file-descriptor
test/tornado_tests/__init__.py:90
↓ 17 callersMethodaggregate
(session=None)
test/asyncio_tests/test_asyncio_session.py:118
↓ 17 callersMethodtry_next
Advance the cursor without blocking indefinitely. This method returns the next change document without waiting indefinitely for the n
motor/core.py:2058
↓ 15 callersFunctioncreate_motor_class
(cls: T)
motor/motor_tornado.py:37
↓ 14 callersMethodopen
Retrieve this file's attributes from the server. Returns a Future. .. versionchanged:: 2.0 No longer accepts a callback a
motor/motor_gridfs.py:148
↓ 13 callersFunctioncreate_asyncio_class
(cls: T)
motor/motor_asyncio.py:36
↓ 13 callersMethodmake_test_data
(self)
test/asyncio_tests/__init__.py:135
↓ 13 callersMethodpartial
()
synchro/__init__.py:338
↓ 13 callersMethodsynchronize
@param async_method: Bound method of a MotorClient, MotorDatabase, etc. @return: A synchronous wrapper around the method
synchro/__init__.py:329
↓ 13 callersMethodwait_and_insert
(self, change_stream, n=1)
test/asyncio_tests/test_asyncio_change_stream.py:42
↓ 12 callersMethodaggregate
(session=None)
test/tornado_tests/test_motor_session.py:121
↓ 12 callersMethodmake_test_data
(self)
test/tornado_tests/__init__.py:65
↓ 12 callersMethodwait_and_insert
(self, change_stream, n=1)
test/tornado_tests/test_motor_change_stream.py:40
↓ 11 callersMethodwrap
(self, obj)
motor/core.py:298
↓ 10 callersMethodrun_thread
(self, fn, *args, **kwargs)
test/tornado_tests/__init__.py:138
↓ 10 callersMethodstart_transaction
Start a multi-statement transaction. Takes the same arguments as :class:`~pymongo.client_session.TransactionOptions`. Best u
motor/core.py:512
↓ 9 callersMethod_buffer_size
(self)
motor/core.py:1739
↓ 9 callersMethodget
(self, path, include_body=True)
motor/web.py:97
↓ 9 callersMethodget_io_loop
(self)
motor/core.py:180
↓ 9 callersFunctionmethod
(self, *args, **kwargs)
motor/metaprogramming.py:44
↓ 9 callersMethodrewind
(self)
motor/core.py:1871
↓ 9 callersMethodrun
(self)
doc/mongo_extensions.py:56
↓ 9 callersMethodwith_transaction
(self, *args, **kwargs)
synchro/__init__.py:441
↓ 8 callersMethod__init__
(self, delegate)
motor/core.py:86
↓ 8 callersFunctionget_async_test_timeout
Get the global timeout setting for async tests. Returns a float, the timeout in seconds.
test/utils.py:126
↓ 8 callersMethodstart_app
(self, http_gridfs=None, extra_routes=None)
test/asyncio_tests/test_aiohttp_gridfs.py:84
↓ 7 callersMethod_get_more
Initial query or getMore. Returns a Future.
motor/core.py:1438
↓ 7 callersFunctionconnected
Convenience, wait for a new PyMongo MongoClient to connect.
test/test_environment.py:78
↓ 7 callersMethodget_io_loop
(self)
motor/core.py:1720
↓ 7 callersMethodrequire
(self, condition, msg, func=None)
test/test_environment.py:304
↓ 7 callersFunctionrun_test_case
(case, suppress_output=True)
test/asyncio_tests/test_asyncio_tests.py:26
↓ 7 callersMethodrun_thread
(self, fn, *args, **kwargs)
test/asyncio_tests/__init__.py:164
↓ 7 callersFunctionunwrap_kwargs_session
(kwargs)
motor/metaprogramming.py:102
↓ 7 callersFunctionwait_until
Copied from PyMongo's test.utils.wait_until. Wait up to 10 seconds (by default) for predicate to be true. The predicate must be an awaitable.
test/utils.py:138
↓ 6 callersMethodcreate_user
(self, dbname, user, pwd=None, roles=None, **kwargs)
test/test_environment.py:368
↓ 6 callersMethodfirst_command_started
(self, name=None)
test/utils.py:97
↓ 6 callersFunctionget_primary_pool
(client)
test/utils.py:72
↓ 6 callersMethodserver
(self, *args, **kwargs)
test/tornado_tests/__init__.py:125
↓ 5 callersMethodMongoClient
(**kwargs)
test/asyncio_tests/test_examples.py:1459
↓ 5 callersMethodeach
(result, error)
test/tornado_tests/test_motor_cursor.py:321
↓ 5 callersMethodeach
(result, error)
test/asyncio_tests/test_asyncio_cursor.py:366
↓ 5 callersMethodenable_timeout
(self)
test/tornado_tests/test_motor_cursor.py:549
↓ 5 callersMethodenable_timeout
(self)
test/asyncio_tests/test_asyncio_cursor.py:618
↓ 5 callersMethodget
(self)
doc/examples/tornado_change_stream_example.py:35
↓ 5 callersFunctionone
Get one element of a set
test/utils.py:34
↓ 5 callersFunctionset_environ
(name, value)
test/asyncio_tests/test_asyncio_tests.py:34
↓ 5 callersMethodstream_to_handler
Write the contents of this file to a :class:`tornado.web.RequestHandler`. This method calls :meth:`~tornado.web.RequestHandler.flush`
motor/motor_gridfs.py:165
↓ 5 callersMethodunwrap
(self, class_name)
motor/metaprogramming.py:167
↓ 5 callersFunctionunwrap_args_session
(args)
motor/metaprogramming.py:95
↓ 4 callersMethod__init__
A descriptor that wraps a PyMongo method, such as insert_one, and returns an asynchronous version of the method that returns a Future.
motor/metaprogramming.py:139
↓ 4 callersFunction_hash_gridout
Compute the effective hash of a GridOut object for use with an Etag header. Create a FIPS-compliant Etag HTTP header hash using sha256 We use
motor/motor_gridfs.py:494
↓ 4 callersMethodat_least
(self, *other_version)
test/version.py:86
↓ 4 callersMethoddisable_timeout
(self)
test/asyncio_tests/test_asyncio_cursor.py:621
↓ 4 callersFunctionfind_by_path
(root, classes)
doc/motor_extensions.py:42
↓ 4 callersFunctionparse_date
(d)
test/asyncio_tests/test_aiohttp_gridfs.py:37
↓ 4 callersFunctionpartition_node
Split a host:port string into (host, int(port)) pair.
test/test_environment.py:66
↓ 4 callersMethodset_fail_point
(self, client, command_args)
test/tornado_tests/__init__.py:75
↓ 4 callersMethodstop
(self)
test/asyncio_tests/test_aiohttp_gridfs.py:123
↓ 4 callersMethodwrap
(self, obj)
motor/motor_gridfs.py:411
↓ 3 callersMethod_padded
(cls, iter, length, padding=0)
test/version.py:28
↓ 3 callersMethod_test_cancelled_error
(self, coro)
test/asyncio_tests/test_asyncio_cursor.py:245
↓ 3 callersFunction_within_time_limit
Are we within the with_transaction retry limit?
motor/core.py:66
↓ 3 callersMethodcancel
(result, error)
test/asyncio_tests/test_asyncio_cursor.py:347
↓ 3 callersMethodcheck_for_snapshot
Wait for snapshot reads to become available to prevent this error: [246:SnapshotUnavailable]: Unable to read from a snapshot due to pending co
test/asyncio_tests/test_examples.py:1424
↓ 3 callersMethodclient_server
(self, *args, **kwargs)
test/tornado_tests/__init__.py:131
↓ 3 callersMethodclient_server
(self, *args, **kwargs)
test/asyncio_tests/__init__.py:157
↓ 3 callersMethoddisable_timeout
(self)
test/tornado_tests/test_motor_cursor.py:552
↓ 3 callersMethodfetch_next
(collection)
test/asyncio_tests/test_asyncio_cursor.py:277
↓ 3 callersMethodget_client_kwargs
(self, **kwargs)
test/tornado_tests/__init__.py:80
↓ 3 callersMethodget_client_kwargs
(self, set_loop=True, **kwargs)
test/asyncio_tests/__init__.py:104
↓ 3 callersMethodget_io_loop
(self)
motor/motor_gridfs.py:310
↓ 3 callersMethodmotor_db
(self, **kwargs)
test/tornado_tests/test_motor_web.py:61
↓ 3 callersMethodmotor_rsc
Get an open MotorClient for replica set. Ignores self.ssl, you must pass 'ssl' argument.
test/tornado_tests/__init__.py:99
↓ 3 callersMethodrequest
(self, method, path, if_modified_since=None, headers=None)
test/asyncio_tests/test_aiohttp_gridfs.py:101
↓ 3 callersMethodserver
(self, *args, **kwargs)
test/asyncio_tests/__init__.py:151
↓ 3 callersFunctionserver_is_mongos
(client)
test/tornado_tests/__init__.py:36
↓ 3 callersFunctionserver_is_mongos
(client)
test/asyncio_tests/__init__.py:254
↓ 3 callersFunctionsidebar_is_collapsed
()
doc/static/sidebar.js:55
↓ 3 callersMethodstarted_command_names
Return list of command names started.
test/utils.py:107
↓ 2 callersMethod__init__
(self, motor_cursor)
synchro/__init__.py:592
↓ 2 callersMethod_data
(self)
motor/core.py:1746
↓ 2 callersMethod_lazy_init
(self)
motor/core.py:1991
↓ 2 callersMethod_make_test_data
(self, n)
test/tornado_tests/test_motor_collection.py:180
↓ 2 callersMethod_make_test_data
(self, n)
test/asyncio_tests/test_asyncio_collection.py:181
↓ 2 callersMethod_reset
(self)
test/tornado_tests/test_motor_auth.py:34
↓ 2 callersMethod_reset
(self)
test/asyncio_tests/test_asyncio_gridfsbucket.py:29
↓ 2 callersMethod_test_exhaust_query_network_error
(self, rs)
test/tornado_tests/test_motor_client.py:254
next →1–100 of 986, ranked by callers