8000 Add sync batching to requests sync transport by itolosa · Pull Request #431 · graphql-python/gql · GitHub
[go: up one dir, main page]

Skip to content

Add sync batching to requests sync transport #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Sep 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert httpx modifications
  • Loading branch information
itolosa committed Sep 5, 2023
commit c01749fdfc03e7aea134b32c541dc9c7406f84ec
10 changes: 0 additions & 10 deletions gql/transport/httpx.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import httpx
from graphql import DocumentNode, ExecutionResult, print_ast

from gql.transport.data_structures import GraphQLRequest

from ..utils import extract_files
from . import AsyncTransport, Transport
from .exceptions import (
Expand Down Expand Up @@ -231,14 +229,6 @@ def execute( # type: ignore

return self._prepare_result(response)

def execute_batch(
self,
reqs: List[GraphQLRequest],
*args,
**kwargs,
) -> List[ExecutionResult]:
return super().execute_batch(reqs, *args, **kwargs)

def close(self):
"""Closing the transport by closing the inner session"""
if self.client:
Expand Down
0