Skip to content

Commit b70dc63

Browse files
authored
Add rudimentary typing to default_field_resolver (#88)
1 parent 5c9b748 commit b70dc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphql/execution/execute.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ async def get_type():
11611161
return None
11621162

11631163

1164-
def default_field_resolver(source, info, **args):
1164+
def default_field_resolver(source: Any, info: GraphQLResolveInfo, **args: Any) -> Any:
11651165
"""Default field resolver.
11661166
11671167
If a resolve function is not given, then a default resolve behavior is used which

0 commit comments

Comments
 (0)