Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ _all_users
Function
_all_users
test/helpers_shared.py:151–152 ·
view source on GitHub ↗
(db)
Source
from the content-addressed store, hash-verified
149
150
151
def
_all_users(db):
152
return
{u[
"user"
]
for
u in db.command(
"usersInfo"
).get(
"users"
, [])}
153
154
155
def
sanitize_cmd(cmd):
Callers
nothing calls this directly
Calls
2
get
Method · 0.45
command
Method · 0.45
Tested by
no test coverage detected