Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/mongo-python-driver
/ _all_users
Function
_all_users
test/__init__.py:1272–1273 ·
view source on GitHub ↗
(db)
Source
from the content-addressed store, hash-verified
1270
1271
1272
def
_all_users(db):
1273
return
{u[
"user"
]
for
u in (db.command(
"usersInfo"
)).get(
"users"
, [])}
1274
1275
1276
def
_create_user(authdb, user, pwd=None, roles=None, **kwargs):
Callers
1
_check_user_provided
Method · 0.70
Calls
2
get
Method · 0.45
command
Method · 0.45
Tested by
no test coverage detected