MCPcopy Create free account
hub / github.com/alpha2phi/python-apps / resolve_users

Method resolve_users

hackernews/backend-python/users/schema.py:39–40  ·  view source on GitHub ↗
(self, info)

Source from the content-addressed store, hash-verified

37 users = graphene.List(UserType)
38
39 def resolve_users(self, info):
40 return get_user_model().objects.all()
41
42 def resolve_me(self, info):
43 user = info.context.user

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected