Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Dec 12, 2024
1 parent 0137998 commit d58f624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchmarks/test_execute_with_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_results(self) -> AwaitableOrValue[Dict[str, Any]]:
class ResolveExtension(SchemaExtension):
async def resolve(self, _next, root, info, *args: Any, **kwargs: Any) -> Any:
result = _next(root, info, *args, **kwargs)
if self.should_await(_next):
if _next._is_async: # type: ignore
result = await result
return result

Expand Down

0 comments on commit d58f624

Please sign in to comment.