MCPcopy 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
1272def _all_users(db):
1273 return {u["user"] for u in (db.command("usersInfo")).get("users", [])}
1274
1275
1276def _create_user(authdb, user, pwd=None, roles=None, **kwargs):

Callers 1

_check_user_providedMethod · 0.70

Calls 2

getMethod · 0.45
commandMethod · 0.45

Tested by

no test coverage detected