Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/graphql-python/graphene
/ props
Function
props
graphene/utils/props.py:12–15 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
10
11
12
def
props(x):
13
return
{
14
key: vars(x).get(key, getattr(x, key))
for
key in dir(x)
if
key not in _all_vars
15
}
Callers
2
__init_subclass_with_meta__
Method · 0.90
__init_subclass__
Method · 0.90
Calls
1
get
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…