Skip to content

Commit

Permalink
Update transport.py
Browse files Browse the repository at this point in the history
Make `Transport` inherit from `abc.ABC`.
  • Loading branch information
willfrey authored Aug 5, 2022
1 parent 3c38caf commit 1842969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gql/transport/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from graphql import DocumentNode, ExecutionResult


class Transport:
class Transport(abc.ABC):
@abc.abstractmethod
def execute(self, document: DocumentNode, *args, **kwargs) -> ExecutionResult:
"""Execute GraphQL query.
Expand Down

0 comments on commit 1842969

Please sign in to comment.