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
↓ 2 callers
Method
_test_exhaust_query_server_error
(self, rs)
test/tornado_tests/test_motor_client.py:225
↓ 2 callers
Method
_test_ops
(self, client, *ops)
test/tornado_tests/test_motor_session.py:37
↓ 2 callers
Method
_test_ops
(self, client, *ops)
test/asyncio_tests/test_asyncio_session.py:36
↓ 2 callers
Function
_unwrap_obj
(obj)
synchro/__init__.py:194
↓ 2 callers
Method
aggregate_raw_batches
Perform an aggregation and retrieve batches of raw BSON. Similar to the :meth:`aggregate` method but returns each batch as bytes. Th
motor/core.py:1137
↓ 2 callers
Method
assertBinaryUUID
(self, val)
test/asyncio_tests/test_asyncio_encryption.py:44
↓ 2 callers
Function
collapse_sidebar
()
doc/static/sidebar.js:68
↓ 2 callers
Method
create_attribute
(self, cls, attr_name)
motor/metaprogramming.py:152
↓ 2 callers
Method
create_encrypted_collection
( self, database, name, encrypted_fields, kms_provider=None, m
synchro/__init__.py:822
↓ 2 callers
Method
cursor_command
(self, *args, **kwargs)
synchro/__init__.py:477
↓ 2 callers
Method
drop_user
(self, dbname, user)
test/test_environment.py:372
↓ 2 callers
Function
expand_sidebar
()
doc/static/sidebar.js:82
↓ 2 callers
Method
find_raw_batches
Query the database and retrieve batches of raw BSON. Similar to the :meth:`find` method but returns each batch as bytes. This exampl
motor/core.py:1008
↓ 2 callers
Method
from_string
(cls, version_string)
test/version.py:36
↓ 2 callers
Method
from_version_array
(cls, version_array)
test/version.py:72
↓ 2 callers
Method
get_io_loop
(self)
motor/core.py:2118
↓ 2 callers
Method
get_keys
(self)
synchro/__init__.py:819
↓ 2 callers
Function
get_viewport_height
()
doc/static/sidebar.js:48
↓ 2 callers
Method
inner
(self)
test/asyncio_tests/test_asyncio_tests.py:98
↓ 2 callers
Method
last_mod
Parse the 'Last-Modified' header from an HTTP response into a datetime.
test/tornado_tests/test_motor_web.py:95
↓ 2 callers
Method
middle
(self)
test/asyncio_tests/test_asyncio_tests.py:95
↓ 2 callers
Method
parse_date
(self, d)
test/tornado_tests/test_motor_web.py:91
↓ 2 callers
Method
patch_spec
(self, fullname)
synchro/synchrotest.py:251
↓ 2 callers
Method
primary_or_standalone
(self, rs)
test/tornado_tests/test_motor_client.py:219
↓ 2 callers
Function
safe_get
(dct, dotted_key, default=None)
test/utils.py:39
↓ 2 callers
Method
save_contextvar_value
(self)
test/asyncio_tests/test_asyncio_client.py:227
↓ 2 callers
Function
session_ids
(client)
test/utils.py:112
↓ 2 callers
Method
stop
(self, *args, **kwargs)
test/tornado_tests/test_motor_web.py:83
↓ 2 callers
Function
unwrap_synchro
Unwrap Synchro objects passed to a method and pass Motor objects instead.
synchro/__init__.py:189
↓ 2 callers
Function
wrap_synchro
If decorated Synchro function returns a Motor object, wrap in a Synchro object.
synchro/__init__.py:137
↓ 1 callers
Method
__exit__
(self, exc_type, exc_val, exc_tb)
motor/core.py:2124
↓ 1 callers
Method
__init__
(self)
test/assert_logs_backport.py:23
↓ 1 callers
Function
_config_error
(request)
motor/aiohttp/__init__.py:113
↓ 1 callers
Method
_each_got_more
(self, callback, future)
motor/core.py:1595
↓ 1 callers
Function
_main
()
test/mypy_fails/insert_many_dict.py:6
↓ 1 callers
Function
_main
()
test/mypy_fails/insert_one_list.py:6
↓ 1 callers
Function
_main
()
test/mypy_fails/raw_bson_document.py:8
↓ 1 callers
Function
_max_time_expired_error
Return true if exc is a MaxTimeMSExpired error.
motor/core.py:71
↓ 1 callers
Method
_query_flags
(self)
motor/core.py:1743
↓ 1 callers
Method
_raiseFailure
(self, standardMsg)
test/assert_logs_backport.py:15
↓ 1 callers
Method
_reset
(self)
test/asyncio_tests/test_asyncio_grid_file.py:32
↓ 1 callers
Method
_set_standard_headers
(self, path, resp, gridout, checksum)
motor/aiohttp/__init__.py:235
↓ 1 callers
Function
add_sidebar_button
()
doc/static/sidebar.js:98
↓ 1 callers
Method
assertAllDocs
(self, expected_sum, docs)
test/tornado_tests/test_motor_collection.py:187
↓ 1 callers
Function
asynchronize
Decorate `sync_method` so it returns a Future. The method runs on a thread and resolves the Future when it completes. :Parameters: - `m
motor/metaprogramming.py:25
↓ 1 callers
Method
cleanup
()
test/asyncio_tests/test_asyncio_await.py:103
↓ 1 callers
Method
clone
(self)
motor/core.py:1868
↓ 1 callers
Method
close
Close this change stream. Stops any "async for" loops using this change stream.
motor/core.py:2095
↓ 1 callers
Function
create_json_schema_file
(kms_providers, key_vault_namespace, key_vault_client)
doc/examples/auto_csfle_example.py:12
↓ 1 callers
Function
create_user
(authdb, user, pwd=None, roles=None, **kwargs)
test/utils.py:116
↓ 1 callers
Method
cursor_command
Issue a MongoDB command and parse the response as a cursor. If the response from the server does not include a cursor field, an error will be
motor/core.py:750
↓ 1 callers
Method
ensure_mypy_fails
(self, filename: str)
test/test_mypy_fails.py:24
↓ 1 callers
Method
expires
(self, response)
test/tornado_tests/test_motor_web.py:101
↓ 1 callers
Method
flush
(self)
test/__init__.py:44
↓ 1 callers
Function
format_date
(d)
test/asyncio_tests/test_aiohttp_gridfs.py:33
↓ 1 callers
Method
from_client
(cls, client)
test/version.py:80
↓ 1 callers
Method
get_cache_time
Override to customize cache control behavior. Return a positive number of seconds to trigger aggressive caching or 0 to mark resource
motor/web.py:173
↓ 1 callers
Function
get_command_line
(client)
test/tornado_tests/__init__.py:30
↓ 1 callers
Function
get_command_line
(client)
test/asyncio_tests/__init__.py:248
↓ 1 callers
Method
get_gridfs_file
Overridable method to choose a GridFS file to serve at a URL. By default, if a URL pattern like ``"/static/(.*)"`` is mapped to this
motor/web.py:61
↓ 1 callers
Method
get_io_loop
(self)
motor/core.py:887
↓ 1 callers
Method
get_io_loop
(self)
motor/core.py:2188
↓ 1 callers
Method
get_io_loop
(self)
motor/motor_gridfs.py:162
↓ 1 callers
Function
get_tests
()
test/test_mypy_fails.py:17
↓ 1 callers
Function
get_version_tuple
(version: str)
motor/_version.py:22
↓ 1 callers
Function
has_coro_annotation
(signature_node)
doc/motor_extensions.py:63
↓ 1 callers
Function
has_node_of_type
(root, klass)
doc/motor_extensions.py:31
↓ 1 callers
Method
head
(self, path, **kwargs)
test/asyncio_tests/test_aiohttp_gridfs.py:120
↓ 1 callers
Function
ignore_deprecations_context
()
test/utils.py:64
↓ 1 callers
Function
init_connection
()
doc/examples/aiohttp_example.py:43
↓ 1 callers
Function
is_event_loop
(loop)
motor/frameworks/asyncio/__init__.py:48
↓ 1 callers
Function
is_event_loop
(loop)
motor/frameworks/tornado/__init__.py:44
↓ 1 callers
Function
is_server_resolvable
Returns True if 'server' is resolvable.
test/test_environment.py:96
↓ 1 callers
Method
list_indexes
(session=None)
test/tornado_tests/test_motor_session.py:118
↓ 1 callers
Method
list_indexes
(session=None)
test/asyncio_tests/test_asyncio_session.py:115
↓ 1 callers
Function
main
()
doc/examples/auto_csfle_example.py:50
↓ 1 callers
Function
main
()
doc/examples/tornado_change_stream_example.py:94
↓ 1 callers
Function
main
()
doc/examples/explicit_encryption_example.py:9
↓ 1 callers
Function
main
()
doc/examples/server_fle_enforcement_example.py:14
↓ 1 callers
Function
main
()
doc/examples/aiohttp_example.py:52
↓ 1 callers
Function
main
()
doc/examples/explicit_encryption_automatic_decryption_example.py:10
↓ 1 callers
Method
maybe_skip
(self)
test/asyncio_tests/test_asyncio_cursor.py:609
↓ 1 callers
Function
maybe_warn_about_code_block
(name, content_node)
doc/motor_extensions.py:58
↓ 1 callers
Method
on_change
(cls, change)
doc/examples/tornado_change_stream_example.py:66
↓ 1 callers
Method
primary_server
(self)
test/tornado_tests/test_motor_client.py:206
↓ 1 callers
Function
put_gridfile
()
doc/examples/aiohttp_gridfs_example.py:23
↓ 1 callers
Function
remove_all_users
(db)
test/tornado_tests/__init__.py:47
↓ 1 callers
Function
remove_all_users
(db)
test/asyncio_tests/__init__.py:265
↓ 1 callers
Method
run
(self)
doc/coroutine_annotation.py:20
↓ 1 callers
Function
scroll_sidebar
()
doc/static/sidebar.js:166
↓ 1 callers
Method
send_change
(cls, change)
doc/examples/tornado_change_stream_example.py:57
↓ 1 callers
Method
setUp
(self)
test/tornado_tests/__init__.py:55
↓ 1 callers
Method
setUp
(self)
test/asyncio_tests/test_asyncio_replica_set.py:30
↓ 1 callers
Method
set_extra_headers
For subclass to add extra headers to the response
motor/web.py:181
↓ 1 callers
Function
set_position_from_cookie
()
doc/static/sidebar.js:143
↓ 1 callers
Method
setup
(self)
test/test_environment.py:138
↓ 1 callers
Method
setup_auth_and_uri
Set self.auth and self.uri.
test/test_environment.py:252
↓ 1 callers
Function
setup_db
()
doc/examples/aiohttp_example.py:8
↓ 1 callers
Method
setup_sync_cx
Get a synchronous PyMongo MongoClient and determine SSL config.
test/test_environment.py:147
↓ 1 callers
Method
setup_v8
Determine if server is running SpiderMonkey or V8.
test/test_environment.py:279
← previous
next →
101–200 of 986, ranked by callers